Read a bin (Uint8Array) that is prefixed by a minimally-encoded
CompactUint starting at the provided ReadPosition, returning either
an error message (as a string) or an object containing the Uint8Array and
the next ReadPosition. (In the transaction format,
CompactUint-prefixes are used to indicate the length of unlocking bytecode,
locking bytecode, and non-fungible token commitments.)
Read a bin (
Uint8Array
) that is prefixed by a minimally-encodedCompactUint
starting at the provided ReadPosition, returning either an error message (as a string) or an object containing theUint8Array
and the next ReadPosition. (In the transaction format,CompactUint
-prefixes are used to indicate the length of unlocking bytecode, locking bytecode, and non-fungible token commitments.)