pub trait Pack {
// Required methods
fn pack(self) -> Vec<u8>;
fn pack_as_it_is(self) -> Vec<u8>;
}Expand description
Convert into binary.
Required Methods§
Sourcefn pack_as_it_is(self) -> Vec<u8>
fn pack_as_it_is(self) -> Vec<u8>
Create a binary object without compression.