pub fn from_reader_strict<'de, R: Read, T: Deserialize<'de>>(
    rdr: R
) -> Result<T>
Expand description

Convenience method, create a BinProt deserializer from the given reader and then read from it. This method also ensures the input byte stream is fully consumed.