RFC 3492's Generalized Variable-Length Integers
RFC 3492, at section 3.3, gives a numbering system that allows for efficient representation of consecutive arbitrary numbers.
This crate is an implementation of this numbering system, in a generic fashion that can be used outside of just RFC 3492 implementations.
Example
let parameters = from_parts.unwrap;
let encoded = encode;
assert_eq!;
let decoded = decode.unwrap;
assert_eq!;