Skip to main content

encode

Function encode 

Source
pub fn encode<T>(t: &T) -> Vec<u8> 
where T: Encode + ?Sized,
Expand description

Encodes a T: Encode into a Vec<u8>.

Warning: The format is subject to change between major versions.