Expand description
Unsigned integer decoders/encoders.
Re-exportsยง
pub use allocating::Uint;
Modulesยง
- allocating ๐
Macrosยง
- impl_
encoding_ ๐traits
Structsยง
- UintRef
- Unsigned arbitrary precision ASN.1
INTEGERreference type.
Functionsยง
- decode_
to_ ๐array - Decode an unsigned integer into a byte array of the requested size containing a big endian integer.
- decode_
to_ ๐slice - Decode an unsigned integer into a big endian byte slice with all leading zeroes removed.
- encode_
bytes ๐ - Encode the given big endian bytes representing an integer as ASN.1 DER.
- encoded_
len ๐ - Get the encoded length for the given unsigned integer serialized as bytes.
- needs_
leading_ ๐zero - Does the given integer need a leading zero?
- strip_
leading_ ๐zeroes - Strip the leading zeroes from the given byte slice