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
9
10
//! `#[bin]`'s `read_only` and `write_only` are mutually exclusive.

use bnb::bin;

#[bin(big, read_only, write_only)]
struct X {
    a: u8,
}

fn main() {}