This helper class allocates a block of 7-bit bytes and can push sequences of bits into it. More...
#include <juce_BitPackingUtilities.h>


Classes | |
| struct | State |
| Describes the current building state. More... | |
Public Member Functions | |
| const void * | getData () const noexcept |
| State | getState () const noexcept |
| bool | hasCapacity (int bitsNeeded) const noexcept |
| template<int numBits> | |
| Packed7BitArrayBuilder & | operator<< (IntegerWithBitSize< numBits > value) noexcept |
| void | restore (State state) noexcept |
| int | size () const noexcept |
| void | writeBits (uint32 value, int numBits) noexcept |
| void | writeHeaderSysexBytes (uint8 deviceIndex) noexcept |
| void | writePacketSysexFooter () noexcept |
Private Attributes | |
| int | bitsInCurrentByte = 0 |
| int | bytesWritten = 0 |
| uint8 | data [allocatedBytes] |
This helper class allocates a block of 7-bit bytes and can push sequences of bits into it.
{Blocks}
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Referenced by juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addBlockReset(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addConfigSetMessage(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addFactoryReset(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addFirmwareUpdatePacket(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addProgramEventMessage(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addRequestFactorySyncMessage(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addRequestMessage(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addRequestUserSyncMessage(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::addSetBlockName(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::beginDataChanges(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::deviceControlMessage(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::endDataChanges(), juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::setMultipleBytes(), and juce::BlocksProtocol::HostPacketBuilder< maxPacketBytes >::skipBytes().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
|
private |
|
private |