A Rust implementation of Golang Variable-Length Integers
This is a rust implementation of golang variable-length integers. Variable-length integers are usually used in writing database storage, which can compress integer data storage and save disk space.
For example: ```rust use std::io::Cursor; use varintrs::{Binary, ReadBytesVarExt};
let mut rdr = Cursor::new(vec![228, 211, 247, 161, 22]);
let (v, x) = rdr.readvu64::
```rust use std::io::Cursor; use varintrs::{Binary,WriteBytesVarExt};
let mut rdr = Cursor::new(vec![0u8; 7]);
rdr.writevu64::