Skip to main content

read

Function read 

Source
pub fn read<T, R>(s: R) -> Result<T>
where T: DeserializeOwned, R: Read, R::Error: Debug + Send + Sync + 'static,
Expand description

Deserialize a CBOR value from a reader (e.g. &[u8] or std::io::stdin()).