Function varu64::encode_writer
[−]
[src]
pub fn encode_writer<W: Write>(int: u64, writer: &mut W) -> IoResult<u8>
Try to encode into a Write
, returning how many bytes were written.
Propagates all errors from calling write
except Interruped
errors, and yields an error of
kind "WriteZero" if a call to write
returns 0 even though not all data has been written.