The BLOCKS SDK
BlocksProtocol::Packed7BitArrayReader Struct Reference

Description

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

See also
Packed7BitArrayBuilder

Public Member Functions

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

Static Public Member Functions

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

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 juce::uint8 *  data,
juce::uint32  size 
)
staticnoexcept

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