Function cbor_smol::cbor_serialize_bytes[][src]

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

Serialize object into newly allocated Bytes.