Function bincode::serialize[][src]

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

Serializes a serializable object into a Vec of bytes using the default configuration.

Warning: the default configuration used by this function is not the same as that used by the DefaultOptions struct. See the config module for more details