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
8
//! The paren form may omit a direction's fn only when the struct is narrowed to the
//! other direction — a bidirectional newtype with no `write` cannot encode.
use bnb::bin;

#[bin(codec(parse = bnb::codecs::leb128::parse))]
struct Varint(u64);

fn main() {}