Function fe_to_u256

Source
pub fn fe_to_u256<F>(f: F) -> U256
where F: PrimeField<Repr = [u8; 32]>,
Expand description

Convert a PrimeField into a U256. Assuming fields that implement traits in crate ff always have little-endian representation.