Function readCompactUintPrefixedBin

  • 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.)

    Parameters

    Returns MaybeReadResult<Uint8Array>

Generated using TypeDoc