[][src]Function serde_bebop::to_bytes

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

Serializes the given object into a Bebop encoded vec of bytes