Package leb128 implements LEB128 integer encoding.
MustReadVarInt32 returns an int32 from r or panics.
MustReadVarInt64 returns an int64 from r or panics.
MustReadVarUint32 returns an uint32 from r or panics.
MustReadVarUint64 returns an uint64 from r or panics.
ReadVarInt32 tries to read a int32 from r.
ReadVarInt64 tries to read a int64 from r.
ReadVarUint32 tries to read a uint32 from r.
ReadVarUint64 tries to read a uint64 from r.
WriteVarInt32 writes u to w.
WriteVarInt64 writes u to w.
WriteVarUint32 writes u to w.
WriteVarUint64 writes u to w.