leb128-u64

Extremely minimal and simple LEB128 u64 encoding/decoding.

Cargo Documentation License

Example

```rust let input: u64 = 42; let mut buf = Vec::new(); leb128u64::encode(input, &mut buf); asserteq!(leb128u64::encodedlen(input), buf.len());

let output = leb128u64::decode(&buf[..]); asserteq!(input, output); ```