Trait ToBytes

Source
pub trait ToBytes {
    // Required method
    fn to_bytes(&self) -> Vec<u8> ;
}
Expand description

Converter to byte array with endianness.

Required Methods§

Source

fn to_bytes(&self) -> Vec<u8>

Return the byte array of self.

Implementors§