|
JUCE
|
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 |
This helper class reads from a block of 7-bit bytes as sequences of bits.
|
noexcept |
|
noexcept |
Referenced by BlocksProtocol::HostPacketDecoder< Handler >::getMessageType(), BlocksProtocol::HostPacketDecoder< Handler >::handleButtonDownOrUp(), BlocksProtocol::HostPacketDecoder< Handler >::handleCustomMessage(), BlocksProtocol::HostPacketDecoder< Handler >::handleFirmwareUpdateACK(), BlocksProtocol::HostPacketDecoder< Handler >::handleLogMessage(), BlocksProtocol::HostPacketDecoder< Handler >::handlePacketACK(), BlocksProtocol::HostPacketDecoder< Handler >::handleTopology(), BlocksProtocol::HostPacketDecoder< Handler >::handleTouch(), BlocksProtocol::HostPacketDecoder< Handler >::handleTouchWithVelocity(), and BlocksProtocol::HostPacketDecoder< Handler >::processNextPacket().
|
noexcept |
Referenced by BlocksProtocol::HostPacketDecoder< Handler >::getMessageType(), BlocksProtocol::HostPacketDecoder< Handler >::handleButtonDownOrUp(), BlocksProtocol::HostPacketDecoder< Handler >::handleConfigMessage(), BlocksProtocol::HostPacketDecoder< Handler >::handleCustomMessage(), BlocksProtocol::HostPacketDecoder< Handler >::handleFirmwareUpdateACK(), BlocksProtocol::HostPacketDecoder< Handler >::handleLogMessage(), BlocksProtocol::HostPacketDecoder< Handler >::handlePacketACK(), BlocksProtocol::HostPacketDecoder< Handler >::handleTopology(), BlocksProtocol::HostPacketDecoder< Handler >::handleTopologyConnection(), BlocksProtocol::HostPacketDecoder< Handler >::handleTopologyDevice(), BlocksProtocol::HostPacketDecoder< Handler >::handleTopologyEnd(), BlocksProtocol::HostPacketDecoder< Handler >::handleTouch(), BlocksProtocol::HostPacketDecoder< Handler >::handleTouchWithVelocity(), and BlocksProtocol::HostPacketDecoder< Handler >::processNextPacket().
References jassert, and BlocksProtocol::IntegerWithBitSize< numBits >::value.
Referenced by BlocksProtocol::HostPacketDecoder< Handler >::handleName(), BlocksProtocol::HostPacketDecoder< Handler >::handleTopologyConnection(), BlocksProtocol::HostPacketDecoder< Handler >::handleTopologyDevice(), and BlocksProtocol::HostPacketDecoder< Handler >::handleVersion().
1.8.13