Type alias ReadResult<Type>

ReadResult<Type>: {
    position: ReadPosition;
    result: Type;
}

The successful result of a read function, includes the result and the next ReadPosition.

Type Parameters

  • Type

Type declaration

  • position: ReadPosition

    The new read position after the successfully-read bytes.

  • result: Type

    The successfully-read value.

Generated using TypeDoc