pub fn from_reader_buffered<R, T>(reader: R) -> Result<T, Error> where
R: Read,
T: for<'de> Deserialize<'de>,
Expand description
Deserializes a value from a reader providing the binary representation.
Internally wraps the reader into a buffered reader for efficiency and convenience.