pub fn decode<R: Read>(reader: R) -> Result<Decoder<R>, Error>
Create a new decoder instance. Alias for Decoder::new.
Decoder::new