dissect.cstruct.bitbuffer¶
Module Contents¶
Classes¶
Implements a bit buffer that can read and write bit fields. |
- class dissect.cstruct.bitbuffer.BitBuffer(stream: BinaryIO, endian: str)¶
Implements a bit buffer that can read and write bit fields.
- stream¶
- endian¶
- read(field_type: type[dissect.cstruct.types.BaseType], bits: int) int¶
- write(field_type: type[dissect.cstruct.types.BaseType], data: int, bits: int) None¶
- flush() None¶
- reset() None¶