• @Offset decorator define the place to move the cursor of the buffer to perform the following operation on it.

    Type Parameters

    • This

    Parameters

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

      PrePost options.

    Returns ClassAndPropertyDecoratorType<This>

    The property decorator function ran at runtime