pub fn decode<R: IntoRead, V: Decode<R::Read>>(reader: R) -> EncodingResult<V>
Decodes the given value by constructing an encoder on the fly and using it to wrap the reader, with the default context.