Crates.io | bitptr |
lib.rs | bitptr |
version | 0.2.1 |
created_at | 2025-06-14 21:44:38.19144+00 |
updated_at | 2025-06-26 03:27:52.507713+00 |
description | `core::ptr` for bit offsets |
homepage | |
repository | https://github.com/Totobird-Creations/bitptr |
max_upload_size | |
id | 1712709 |
size | 39,317 |
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
.