pub fn to_bytes(&self) -> [u8; 32] {
        let mut s = [0u8; 32];

        s[0] = self.0[0] as u8;
        s[1] = (self.0[0] >> 8) as u8;
        s[2] = (self.0[0] >> 16) as u8;
        s[3] = (self.0[0] >> 24) as u8;
        s[4] = (self.0[0] >> 32) as u8;
        s[5] = (self.0[0] >> 40) as u8;
        s[6] = ((self.0[0] >> 48) | (self.0[1] << 4)) as u8;
        s[7] = (self.0[1] >> 4) as u8;
        s[8] = (self.0[1] >> 12) as u8;
        s[9] = (self.0[1] >> 20) as u8;
        s[10] = (self.0[1] >> 28) as u8;
        s[11] = (self.0[1] >> 36) as u8;
        s[12] = (self.0[1] >> 44) as u8;
        s[13] = self.0[2] as u8;
        s[14] = (self.0[2] >> 8) as u8;
        s[15] = (self.0[2] >> 16) as u8;
        s[16] = (self.0[2] >> 24) as u8;
        s[17] = (self.0[2] >> 32) as u8;
        s[18] = (self.0[2] >> 40) as u8;
        s[19] = ((self.0[2] >> 48) | (self.0[3] << 4)) as u8;
        s[20] = (self.0[3] >> 4) as u8;
        s[21] = (self.0[3] >> 12) as u8;
        s[22] = (self.0[3] >> 20) as u8;
        s[23] = (self.0[3] >> 28) as u8;
        s[24] = (self.0[3] >> 36) as u8;
        s[25] = (self.0[3] >> 44) as u8;
        s[26] = self.0[4] as u8;
        s[27] = (self.0[4] >> 8) as u8;
        s[28] = (self.0[4] >> 16) as u8;
        s[29] = (self.0[4] >> 24) as u8;
        s[30] = (self.0[4] >> 32) as u8;
        s[31] = (self.0[4] >> 40) as u8;

        s
    }
/// Pack the limbs of this `Scalar52` into 32 bytes
Pack the limbs of this `Scalar52` into 32 bytes
Pack the limbs of this ` Scalar52 ` into 32 bytes
pub fn to_bytes(&self) -> [u8; 32] {
        let mut s = [0u8; 32];
        s[0] = self.0[0] as u8;
        s[1] = (self.0[0] >> 8) as u8;
        s[2] = (self.0[0] >> 16) as u8;
        s[3] = (self.0[0] >> 24) as u8;
        s[4] = (self.0[0] >> 32) as u8;
        s[5] = (self.0[0] >> 40) as u8;
        s[6] = ((self.0[0] >> 48) | (self.0[1] << 4)) as u8;
        s[7] = (self.0[1] >> 4) as u8;
        s[8] = (self.0[1] >> 12) as u8;
        s[9] = (self.0[1] >> 20) as u8;
        s[10] = (self.0[1] >> 28) as u8;
        s[11] = (self.0[1] >> 36) as u8;
        s[12] = (self.0[1] >> 44) as u8;
        s[13] = self.0[2] as u8;
        s[14] = (self.0[2] >> 8) as u8;
        s[15] = (self.0[2] >> 16) as u8;
        s[16] = (self.0[2] >> 24) as u8;
        s[17] = (self.0[2] >> 32) as u8;
        s[18] = (self.0[2] >> 40) as u8;
        s[19] = ((self.0[2] >> 48) | (self.0[3] << 4)) as u8;
        s[20] = (self.0[3] >> 4) as u8;
        s[21] = (self.0[3] >> 12) as u8;
        s[22] = (self.0[3] >> 20) as u8;
        s[23] = (self.0[3] >> 28) as u8;
        s[24] = (self.0[3] >> 36) as u8;
        s[25] = (self.0[3] >> 44) as u8;
        s[26] = self.0[4] as u8;
        s[27] = (self.0[4] >> 8) as u8;
        s[28] = (self.0[4] >> 16) as u8;
        s[29] = (self.0[4] >> 24) as u8;
        s[30] = (self.0[4] >> 32) as u8;
        s[31] = (self.0[4] >> 40) as u8;
        s
    }
pub fn to_bytes ( & self ) -> [ u8 ; 32 ] { let mut s = [ 0u8 ; 32 ] ; s [ 0 ] = self . 0 [ 0 ] as u8 ; s [ 1 ] = ( self . 0 [ 0 ] >> 8 ) as u8 ; s [ 2 ] = ( self . 0 [ 0 ] >> 16 ) as u8 ; s [ 3 ] = ( self . 0 [ 0 ] >> 24 ) as u8 ; s [ 4 ] = ( self . 0 [ 0 ] >> 32 ) as u8 ; s [ 5 ] = ( self . 0 [ 0 ] >> 40 ) as u8 ; s [ 6 ] = ( ( self . 0 [ 0 ] >> 48 ) | ( self . 0 [ 1 ] << 4 ) ) as u8 ; s [ 7 ] = ( self . 0 [ 1 ] >> 4 ) as u8 ; s [ 8 ] = ( self . 0 [ 1 ] >> 12 ) as u8 ; s [ 9 ] = ( self . 0 [ 1 ] >> 20 ) as u8 ; s [ 10 ] = ( self . 0 [ 1 ] >> 28 ) as u8 ; s [ 11 ] = ( self . 0 [ 1 ] >> 36 ) as u8 ; s [ 12 ] = ( self . 0 [ 1 ] >> 44 ) as u8 ; s [ 13 ] = self . 0 [ 2 ] as u8 ; s [ 14 ] = ( self . 0 [ 2 ] >> 8 ) as u8 ; s [ 15 ] = ( self . 0 [ 2 ] >> 16 ) as u8 ; s [ 16 ] = ( self . 0 [ 2 ] >> 24 ) as u8 ; s [ 17 ] = ( self . 0 [ 2 ] >> 32 ) as u8 ; s [ 18 ] = ( self . 0 [ 2 ] >> 40 ) as u8 ; s [ 19 ] = ( ( self . 0 [ 2 ] >> 48 ) | ( self . 0 [ 3 ] << 4 ) ) as u8 ; s [ 20 ] = ( self . 0 [ 3 ] >> 4 ) as u8 ; s [ 21 ] = ( self . 0 [ 3 ] >> 12 ) as u8 ; s [ 22 ] = ( self . 0 [ 3 ] >> 20 ) as u8 ; s [ 23 ] = ( self . 0 [ 3 ] >> 28 ) as u8 ; s [ 24 ] = ( self . 0 [ 3 ] >> 36 ) as u8 ; s [ 25 ] = ( self . 0 [ 3 ] >> 44 ) as u8 ; s [ 26 ] = self . 0 [ 4 ] as u8 ; s [ 27 ] = ( self . 0 [ 4 ] >> 8 ) as u8 ; s [ 28 ] = ( self . 0 [ 4 ] >> 16 ) as u8 ; s [ 29 ] = ( self . 0 [ 4 ] >> 24 ) as u8 ; s [ 30 ] = ( self . 0 [ 4 ] >> 32 ) as u8 ; s [ 31 ] = ( self . 0 [ 4 ] >> 40 ) as u8 ; s }
Pack the limbs of this `Scalar52` into 32 bytes
Pack the limbs of this ` Scalar52 ` into 32 bytes
&self
&self