Trait integer_encoding::VarIntWriter[][src]

pub trait VarIntWriter {
    fn write_varint<VI: VarInt>(&mut self, n: VI) -> Result<usize>;
}

A trait for writing integers in VarInt encoding to any Write type. This packs encoding and writing into one step.

Required methods

fn write_varint<VI: VarInt>(&mut self, n: VI) -> Result<usize>[src]

Loading content...

Implementors

impl<Inner: Write> VarIntWriter for Inner[src]

Loading content...