Ben Chuanlong Du's Blog

It is never too late to learn.

Manipulate Bits in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

bitvec

bitvec Addresses memory by bits, for packed collections and bitfields bitvec provides a foundational API for bitfields in Rust. It specializes standard-library data structures (slices, arrays, and vectors of bool …