Function to_vec

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