Function to_vec

Source
pub fn to_vec<T, BO>(value: &T) -> Result<Vec<u8>>
where T: Serialize, BO: ByteOrder,
Expand description

Serialize to Vec<u8>