PreOffsetFunctionScope: {
    bytes: ReadonlyUint8Array | Uint8Array;
    preOffset: Offset;
    wrapBytes: (offset: Offset) => Offset;
}

Type declaration

  • bytes: ReadonlyUint8Array | Uint8Array

    The entire byte array.

  • preOffset: Offset

    The original offset prior to encode or decode.

  • wrapBytes: (offset: Offset) => Offset

    Wraps the offset to the byte array length.