Zserio C++ runtime library
1.1.0
Built for Zserio 2.15.0
|
#include <BitStreamReader.h>
Public Member Functions | |
ReaderContext (Span< const uint8_t > readBuffer, size_t readBufferBitSize) | |
~ReaderContext ()=default | |
ReaderContext (const ReaderContext &)=delete | |
ReaderContext & | operator= (const ReaderContext &)=delete |
ReaderContext (const ReaderContext &&)=delete | |
ReaderContext & | operator= (const ReaderContext &&)=delete |
Public Attributes | |
Span< const uint8_t > | buffer |
const BitPosType | bufferBitSize |
uintptr_t | cache |
uint8_t | cacheNumBits |
BitPosType | bitIndex |
Context of the reader defining its state.
Definition at line 31 of file BitStreamReader.h.
|
explicit |
Constructor.
readBuffer | Span to the buffer to read. |
readBufferBitSize | Size of the buffer in bits. |
Definition at line 358 of file BitStreamReader.cpp.
|
default |
Destructor.
|
delete |
Copying and moving is disallowed!
|
delete |
Copying and moving is disallowed!
|
delete |
Copying and moving is disallowed!
|
delete |
Copying and moving is disallowed!
BitPosType zserio::BitStreamReader::ReaderContext::bitIndex |
Current bit index.
Definition at line 65 of file BitStreamReader.h.
Span<const uint8_t> zserio::BitStreamReader::ReaderContext::buffer |
Buffer to read from.
Definition at line 59 of file BitStreamReader.h.
const BitPosType zserio::BitStreamReader::ReaderContext::bufferBitSize |
Size of the buffer in bits.
Definition at line 60 of file BitStreamReader.h.
uintptr_t zserio::BitStreamReader::ReaderContext::cache |
Bit cache to optimize bit reading.
Definition at line 62 of file BitStreamReader.h.
uint8_t zserio::BitStreamReader::ReaderContext::cacheNumBits |
Num bits available in the bit cache.
Definition at line 63 of file BitStreamReader.h.