bitsandbytes 0.3.2

An owned, bit-aware binary codec: fast bit/byte field types and the unified #[bin] macro.
Documentation
1
2
3
4
5
6
7
//! `codec` carries exactly one inner value — a multi-field tuple struct is rejected.
use bnb::bin;

#[bin(codec = bnb::codecs::leb128)]
struct Pair(u64, u64);

fn main() {}