Function varu64::decode_reader [] [src]

pub fn decode_reader<R: Read>(reader: &mut R) -> IoResult<(u64, u8)>

Try to decode from a Read, returning how many bytes were read.

Propagates all errors from calling read, and yields an error of kind "UnexpectedEof" if a call to read returns 0 even though the encoding indicates that more data should follow.