Function fcode::to_bytes[][src]

pub fn to_bytes<T: ?Sized>(value: &T) -> Result<Vec<u8>> where
    T: Serialize

Serialize a value into a new byte vector.