pub fn bigint_to_le_bytes_array<const BYTES_SIZE: usize>(
bigint: &BigUint,
) -> Result<[u8; BYTES_SIZE], UtilsError>
Expand description
Converts the given num_bigint::BigUint
into a little-endian
byte array.
pub fn bigint_to_le_bytes_array<const BYTES_SIZE: usize>(
bigint: &BigUint,
) -> Result<[u8; BYTES_SIZE], UtilsError>
Converts the given num_bigint::BigUint
into a little-endian
byte array.