Expand description
Bitmap utilities for Unix-like filesystems.
Provides efficient bit-level operations on block and inode bitmaps. Uses little-endian bit order within each byte (bit 0 = LSB), matching the standard Linux bitmap convention used by ext2/3/4, xfs AG bitmaps, UFS cylinder group bitmaps, and Minix zone maps.
Structs§
- Bitmap
Reader - A read-only view over a bitmap stored as a byte slice.
- Clear
Bits Iter - Iterator over clear bit indices in a
BitmapReader. - SetBits
Iter - Iterator over set bit indices in a
BitmapReader.
Functions§
- bitmap_
clear_ bit - Clear the bit at
indexin a mutable bitmap (little-endian bit order). - bitmap_
find_ clear_ bit - Find the first clear (0) bit in the bitmap within
bit_countvalid bits. - bitmap_
set_ bit - Set the bit at
indexin a mutable bitmap (little-endian bit order).