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.
- read(field_type: dissect.cstruct.types.RawType, bits: Union[int, bytes]) int #
- write(field_type: dissect.cstruct.types.RawType, data: int, bits: int) None #
- flush() None #
- reset() None #