pub fn from_reader_with_buffer<T: DeserializeOwned, R: Read>(
reader: R,
scratch_buffer: &mut [u8],
) -> Result<T, Error<R::Error>>
Expand description
Deserializes as CBOR from a type with impl ciborium_io::Read
, using a caller-specific buffer as a
temporary scratch space.