Trait varint::VarintWrite [] [src]

pub trait VarintWrite: Write {
    fn write_signed_varint_32(&mut self, value: i32) -> Result<(), Error> { ... }
    fn write_unsigned_varint_32(&mut self, value: u32) -> Result<(), Error> { ... }
}

Extends the I/O Write trait to provide functions for writing (currently only 32-bit) variable-length integers

Provided Methods

Writes a signed varint 32 to this VarintWrite

Writes an unsigned 32-bit Varint to this VarintWrite

Implementors