Decode a minimally-encoded
CompactUint (Satoshi's variable-length, positive
integer format) from a Uint8Array, returning the value as a BigInt. This
function returns an error if the entire input is not consumed – to read a
CompactUint from a position within a larger
use readCompactUintMinimal or readCompactUint.
the Uint8Array from which to read the CompactUint
Generated using TypeDoc