cbor_smol

Function cbor_serialize_bytes

source
pub fn cbor_serialize_bytes<T: ?Sized + Serialize, const N: usize>(
    object: &T,
) -> Result<Bytes<N>>
Expand description

Serialize object into newly allocated Bytes.