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