cbor_smol

Function cbor_serialize_extending_bytes

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

Append serialization of object to existing bytes, returning length of serialized object.