decode_to_array

Function decode_to_array 

Source
pub(super) fn decode_to_array<const N: usize>(bytes: &[u8]) -> Result<[u8; N]>
Expand description

Decode an unsigned integer into a byte array of the requested size containing a big endian integer.