• @Peek decorator define the place to move the cursor of the buffer then move it back

    Type Parameters

    • This

    Parameters

    • Optionaloffset: string | number | ((instance: This, cursor: Cursor) => number)
    • Optionalopt: Partial<PrePostOptions>

      PrePost options.

    Returns ClassAndPropertyDecoratorType<This>

    The property decorator function ran at runtime