pub const fn encode_fixed_u64(value: u64) -> Option<[u8; 10]>
Expand description
Encodes an unsigned LEB128 number with using the maximum number of bytes for the given bits length.
If the value can be encoded in the given number of bits, then return the encoded value.
If the value cannot be encoded with the given number of bits, then return None.