5 unstable releases
0.3.0 | Dec 28, 2020 |
---|---|
0.2.0 | Dec 21, 2020 |
0.1.2 | Dec 20, 2020 |
0.1.1 | Dec 20, 2020 |
0.1.0 | Dec 20, 2020 |
#628 in Compression
Used in inohashmap
27KB
663 lines
Vint32
Fast vint u32 encoding for rust. Uses at most 5 bytes.
Examples
use vint32::encode_varint_into;
let mut output = vec![];
encode_varint_into(&mut output, 50);
assert_eq!(output.len(), 1);
Tests
cargo test --all-features
lib.rs
:
Fast vint u32 encoding for rust. Uses at most 5 bytes.
Examples
use vint32::encode_varint_into;
let mut output = vec![];
encode_varint_into(&mut output, 50);
assert_eq!(output.len(), 1);
Dependencies
~110KB