fn zcash_serialize_to_vec(&self) -> Result<Vec<u8>, io::Error> {
        let mut data = Vec::new();
        self.zcash_serialize(&mut data)?;
        Ok(data)
    }
/// Helper function to construct a vec to serialize the current struct into
Helper function to construct a vec to serialize the current struct into
Helper function to construct a vec to serialize the current struct into
fn zcash_serialize_to_vec(&self) -> Result<Vec<u8>, io::Error> {
        let mut data = Vec::new();
        self.zcash_serialize(&mut data)?;
        Ok(data)
    }
fn zcash_serialize_to_vec ( & self ) -> Result < Vec < u8 > , io :: Error > { let mut data = Vec :: new ( ) ; self . zcash_serialize ( & mut data ) ? ; Ok ( data ) }
Helper function to construct a vec to serialize the current struct into
Helper function to construct a vec to serialize the current struct into
&self