pub fn serialized_size(&self) -> usize {
        // header is 8 bytes * 3 fields = 24 bytes
        // program length is 4 bytes
        // program is self.program.len() bytes
        // signature is 64 bytes
        // proof is 14*32 + the ipp bytes
        self.header.serialized_size() + 4 + self.program.len() + 64 + self.proof.serialized_size()
    }
/// Returns the size in bytes required to serialize the `Tx`.
Returns the size in bytes required to serialize the `Tx`.
Returns the size in bytes required to serialize the ` Tx ` .
pub fn serialized_size(&self) -> usize {
        // header is 8 bytes * 3 fields = 24 bytes
        // program length is 4 bytes
        // program is self.program.len() bytes
        // signature is 64 bytes
        // proof is 14*32 + the ipp bytes
        self.header.serialized_size() + 4 + self.program.len() + 64 + self.proof.serialized_size()
    }
pub fn serialized_size ( & self ) -> usize { // header is 8 bytes * 3 fields = 24 bytes // program length is 4 bytes // program is self.program.len() bytes // signature is 64 bytes // proof is 14*32 + the ipp bytes self . header . serialized_size ( ) + 4 + self . program . len ( ) + 64 + self . proof . serialized_size ( ) }
Returns the size in bytes required to serialize the `Tx`.
Returns the size in bytes required to serialize the ` Tx ` .
&self
&self