pub fn decode(bytes: &[u8]) -> Result<Value, CborError>
Decode the first CBOR value in bytes. Trailing bytes are ignored, matching the replaced decoder’s behavior.
bytes