Crate bitcursor
Source - BitCursor
- A ‘BitCursor’ wraps an in memory buffer and provides it with a
Seek
implementation
provided that memory buffer impls the Unit trait
- ForceReadBits
- The ‘ForceReadBits’ trait allows reading bits of size unit (bool, u8, u32, etc.), at the given bit/cursor position
- ReadBits
- The ‘ReadBits’ trait allows reading bits of size unit (bool, u8, u32, etc.), at the given bit/cursor position
- Unit
- Any type that implements trait ‘Unit’ and wrapped in a ‘BitCursor’
will also share an implementation of ‘ReadBits’ and ‘ForceReadBits’ traits