Function cbor_smol::cbor_serialize_bytes[][src]

pub fn cbor_serialize_bytes<N: ArrayLength<u8>, T: Serialize>(
    object: &T
) -> Result<Bytes<N>>

Serialize object into newly allocated Bytes.