Debian Codegraph @

debian/rust-vendor/bitvec/doc/field/io.md

raw
1 # Bit-Field I/O Protocols
2
3 This module defines the standard-library `io::{Read, Write}` byte-oriented
4 protocols on `bitvec` structures that are capable of operating on bytes through
5 the `BitField` trait.
6
7 Note that calling [`BitField`] methods in a loop imposes a non-trivial, and
8 irremovable, performance penalty on each invocation. The `.read()` and
9 `.write()` methods implemented in this module are going to suffer this cost, and
10 you should prefer to operate directly on the underlying buffer if possible.