leb128
Read and write DWARF's "Little Endian Base 128" (LEB128) variable length integer encoding.
The implementation is a direct translation of the psuedocode in the DWARF 4 standard's appendix C.
Install
Either
$ cargo add leb128
or add this to your Cargo.toml
:
[dependencies]
leb128 = "0.1.0"