pub fn cbor_serialize_extending_bytes<T: ?Sized + Serialize, const N: usize>( object: &T, bytes: &mut Bytes<N>, ) -> Result<usize>
Append serialization of object to existing bytes, returning length of serialized object.