BlocksProtocol::Packed7BitArrayReader Struct Reference

This helper class reads from a block of 7-bit bytes as sequences of bits. More...

Public Member Functions

 Packed7BitArrayReader (const void *sourceData, int numBytes) noexcept
 
int getRemainingBits () const noexcept
 
template<typename Target >
Target read () noexcept
 
uint32 readBits (int numBits) noexcept
 

Static Public Member Functions

static bool checksumIsOK (const uint8 *data, uint32 size) noexcept
 

Detailed Description

This helper class reads from a block of 7-bit bytes as sequences of bits.

See also
Packed7BitArrayBuilder

Constructor & Destructor Documentation

◆ Packed7BitArrayReader()

BlocksProtocol::Packed7BitArrayReader::Packed7BitArrayReader ( const void *  sourceData,
int  numBytes 
)
noexcept

Member Function Documentation

◆ getRemainingBits()

◆ read()

◆ readBits()

◆ checksumIsOK()

static bool BlocksProtocol::Packed7BitArrayReader::checksumIsOK ( const uint8 data,
uint32  size 
)
staticnoexcept

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