fn to_bytes(&self) -> [u8; Self::SIZE] {
        // Turn into canonical form by computing
        // (a.R) / R = a
        let tmp = Fr::montgomery_reduce(
            self.0[0], self.0[1], self.0[2], self.0[3], 0, 0, 0, 0,
        );

        let mut res = [0; Self::SIZE];
        res[0..8].copy_from_slice(&tmp.0[0].to_le_bytes());
        res[8..16].copy_from_slice(&tmp.0[1].to_le_bytes());
        res[16..24].copy_from_slice(&tmp.0[2].to_le_bytes());
        res[24..32].copy_from_slice(&tmp.0[3].to_le_bytes());

        res
    }
/// Converts an element of `Fr` into a byte representation in
/// little-endian byte order.
Converts an element of `Fr` into a byte representation in
little-endian byte order.
Converts an element of ` Fr ` into a byte representation in little - endian byte order .
fn to_bytes(&self) -> [u8; Self::SIZE] {
        // Turn into canonical form by computing
        // (a.R) / R = a
        let tmp = Fr::montgomery_reduce(
            self.0[0], self.0[1], self.0[2], self.0[3], 0, 0, 0, 0,
        );
        let mut res = [0; Self::SIZE];
        res[0..8].copy_from_slice(&tmp.0[0].to_le_bytes());
        res[8..16].copy_from_slice(&tmp.0[1].to_le_bytes());
        res[16..24].copy_from_slice(&tmp.0[2].to_le_bytes());
        res[24..32].copy_from_slice(&tmp.0[3].to_le_bytes());
        res
    }
fn to_bytes ( & self ) -> [ u8 ; Self :: SIZE ] { // Turn into canonical form by computing // (a.R) / R = a let tmp = Fr :: montgomery_reduce ( self . 0 [ 0 ] , self . 0 [ 1 ] , self . 0 [ 2 ] , self . 0 [ 3 ] , 0 , 0 , 0 , 0 , ) ; let mut res = [ 0 ; Self :: SIZE ] ; res [ 0 .. 8 ] . copy_from_slice ( & tmp . 0 [ 0 ] . to_le_bytes ( ) ) ; res [ 8 .. 16 ] . copy_from_slice ( & tmp . 0 [ 1 ] . to_le_bytes ( ) ) ; res [ 16 .. 24 ] . copy_from_slice ( & tmp . 0 [ 2 ] . to_le_bytes ( ) ) ; res [ 24 .. 32 ] . copy_from_slice ( & tmp . 0 [ 3 ] . to_le_bytes ( ) ) ; res }
Converts an element of `Fr` into a byte representation in
little-endian byte order.
Converts an element of ` Fr ` into a byte representation in little - endian byte order .
&self