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

Serialize object into newly allocated Bytes.