Returns a function that reads the requested number of bytes from a ReadPosition, returning either an error message (as a string) or an object containing the Uint8Array and the next ReadPosition.
Uint8Array
the number of bytes to read
the ReadPosition at which to start reading the bytes.
Generated using TypeDoc
Returns a function that reads the requested number of bytes from a ReadPosition, returning either an error message (as a string) or an object containing the
Uint8Array
and the next ReadPosition.