Read a non-minimally-encoded CompactUint (see bigIntToCompactUint) from the provided ReadPosition, returning either an error message (as a string) or an object containing the value and the next ReadPosition.
CompactUint
Rather than this function, most applications should use readCompactUintMinimal.
the ReadPosition at which to start reading the CompactUint
Generated using TypeDoc
Read a non-minimally-encoded
CompactUint
(see bigIntToCompactUint) from the provided ReadPosition, returning either an error message (as a string) or an object containing the value and the next ReadPosition.Rather than this function, most applications should use readCompactUintMinimal.