pub fn from_reader_with_encoding<T: DeserializeOwned, R: Read>(
    reader: R,
    encoding: &'static Encoding
) -> Result<T, Error>
Expand description

Turn a reader into a value of T using the given encoding