Function libipld_cbor::decode::read_uint
source · [−]Expand description
Read the uint argument to the given major type. This function errors if:
- The major type doesn’t expect an integer argument.
- The integer argument is not “minimally” encoded per the IPLD spec.