bitptr 0.2.1

`core::ptr` for bit offsets
Documentation
  • Coverage
  • 100%
    11 out of 11 items documented2 out of 2 items with examples
  • Size
  • Source code size: 38.82 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.53 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Totobird-Creations/bitptr
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Totobird-Creations

BitPtr

core::ptr for bit offsets.

pointers in Rust are locked to byte-offsets, or every 8 bits. bitptr aims to provide methods to help read and write data at off-byte offsets.

The primary use for bitptr is to pack data when the size of data is not known at compile time. For types and sizes known at compile time, consider bilge.