RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BitStream Class Reference

Public Member Functions

 BitStream (std::shared_ptr< Linker::Image > contents)
 
uint32_t ReadBits (unsigned count)
 
bool IsOver () const
 

Protected Member Functions

void NextByte ()
 
unsigned ReadSomeBits (unsigned count, uint8_t &read_bits)
 

Protected Attributes

std::shared_ptr< Linker::Imagecontents
 
offset_t contents_offset = 0
 
uint8_t byte = 0
 
unsigned bit_count = 0
 

The documentation for this class was generated from the following file: