pub fn to_bytes(&self) -> Vec<u8> {
        let mut buf = Vec::with_capacity(7 * 32 + self.ipp_proof.serialized_size());
        buf.extend_from_slice(self.A.as_bytes());
        buf.extend_from_slice(self.S.as_bytes());
        buf.extend_from_slice(self.T_1.as_bytes());
        buf.extend_from_slice(self.T_2.as_bytes());
        buf.extend_from_slice(self.t_x.as_bytes());
        buf.extend_from_slice(self.t_x_blinding.as_bytes());
        buf.extend_from_slice(self.e_blinding.as_bytes());
        buf.extend_from_slice(&self.ipp_proof.to_bytes());
        buf
    }
// Following the dalek rangeproof library signature for now. The exact method signature can be
// changed.
Following the dalek rangeproof library signature for now. The exact method signature can be
changed.
Following the dalek rangeproof library signature for now . The exact method signature can be changed .
pub fn to_bytes(&self) -> Vec<u8> {
        let mut buf = Vec::with_capacity(7 * 32 + self.ipp_proof.serialized_size());
        buf.extend_from_slice(self.A.as_bytes());
        buf.extend_from_slice(self.S.as_bytes());
        buf.extend_from_slice(self.T_1.as_bytes());
        buf.extend_from_slice(self.T_2.as_bytes());
        buf.extend_from_slice(self.t_x.as_bytes());
        buf.extend_from_slice(self.t_x_blinding.as_bytes());
        buf.extend_from_slice(self.e_blinding.as_bytes());
        buf.extend_from_slice(&self.ipp_proof.to_bytes());
        buf
    }
pub fn to_bytes ( & self ) -> Vec < u8 > { let mut buf = Vec :: with_capacity ( 7 * 32 + self . ipp_proof . serialized_size ( ) ) ; buf . extend_from_slice ( self . A . as_bytes ( ) ) ; buf . extend_from_slice ( self . S . as_bytes ( ) ) ; buf . extend_from_slice ( self . T_1 . as_bytes ( ) ) ; buf . extend_from_slice ( self . T_2 . as_bytes ( ) ) ; buf . extend_from_slice ( self . t_x . as_bytes ( ) ) ; buf . extend_from_slice ( self . t_x_blinding . as_bytes ( ) ) ; buf . extend_from_slice ( self . e_blinding . as_bytes ( ) ) ; buf . extend_from_slice ( & self . ipp_proof . to_bytes ( ) ) ; buf }
Following the dalek rangeproof library signature for now.
Following the dalek rangeproof library signature for now .
&self