beve 7.1.0

Rust implementation of the BEVE (Binary Efficient Versatile Encoding) specification with serde support
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    let v = vec![true, false, true, true, false];
    let bytes = beve::to_vec(&v).unwrap();
    for (i, b) in bytes.iter().enumerate() {
        if i > 0 {
            print!(" ");
        }
        print!("{:02x}", b);
    }
    println!();
}