Crate integer_encoding [] [src]

Traits

FixedInt

FixedInt provides encoding/decoding to and from fixed int representations. The emitted bytestring contains the bytes of the integer in little-endian order.

FixedIntReader

A trait for reading FixedInts from any other Reader.

FixedIntWriter

A trait for writing integers without encoding (i.e. FixedInt) to any Write type.

VarInt

Varint (variable length integer) encoding, as described in https://developers.google.com/protocol-buffers/docs/encoding. Uses zigzag encoding (also described there) for signed integer representation.

VarIntReader

A trait for reading VarInts from any other Reader.

VarIntWriter

A trait for writing integers in VarInt encoding to any Write type.