This helper class reads from a block of 7-bit bytes as sequences of bits. More...
#include <juce_BitPackingUtilities.h>
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 |
Private Attributes | |
int | bitsReadInCurrentByte = 0 |
const uint8 * | data |
int | totalBits |
This helper class reads from a block of 7-bit bytes as sequences of bits.
{Blocks}
|
inlinenoexcept |
|
inlinenoexcept |
Referenced by juce::BlocksProtocol::HostPacketDecoder< Handler >::getMessageType(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleButtonDownOrUp(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleCustomMessage(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleFirmwareUpdateACK(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleLogMessage(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handlePacketACK(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleTopology(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleTouch(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleTouchWithVelocity(), and juce::BlocksProtocol::HostPacketDecoder< Handler >::processNextPacket().
|
inlinenoexcept |
Referenced by juce::BlocksProtocol::HostPacketDecoder< Handler >::getMessageType(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleButtonDownOrUp(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleConfigMessage(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleCustomMessage(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleFirmwareUpdateACK(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleLogMessage(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handlePacketACK(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleTopology(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleTopologyConnection(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleTopologyDevice(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleTopologyEnd(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleTouch(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleTouchWithVelocity(), and juce::BlocksProtocol::HostPacketDecoder< Handler >::processNextPacket().
References jassert, and juce::BlocksProtocol::IntegerWithBitSize< numBits >::value.
Referenced by juce::BlocksProtocol::HostPacketDecoder< Handler >::handleName(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleTopologyConnection(), juce::BlocksProtocol::HostPacketDecoder< Handler >::handleTopologyDevice(), and juce::BlocksProtocol::HostPacketDecoder< Handler >::handleVersion().
|
private |
|
private |
|
private |