pub fn decode<R, D>(reader: R, dec: D) -> Decoder<R, D>
Decode a value from an AsyncRead, using an AsyncDecode.
AsyncRead
AsyncDecode