JUCE
Classes | Public Member Functions | List of all members
Packed7BitArrayBuilder< allocatedBytes > Struct Template Reference

This helper class allocates a block of 7-bit bytes and can push sequences of bits into it. More...

Classes

struct  State
 

Public Member Functions

const void * getData () const noexcept
 
int size () const noexcept
 
bool hasCapacity (int bitsNeeded) const noexcept
 
void writeHeaderSysexBytes (uint8 deviceIndex) noexcept
 
void writePacketSysexFooter () noexcept
 
template<int numBits>
Packed7BitArrayBuilderoperator<< (IntegerWithBitSize< numBits > value) noexcept
 
void writeBits (uint32 value, int numBits) noexcept
 
State getState () const noexcept
 
void restore (State state) noexcept
 

Detailed Description

template<int allocatedBytes>
struct Packed7BitArrayBuilder< allocatedBytes >

This helper class allocates a block of 7-bit bytes and can push sequences of bits into it.

See also
Packed7BitArrayReader

Member Function Documentation

§ getData()

template<int allocatedBytes>
const void* Packed7BitArrayBuilder< allocatedBytes >::getData ( ) const
noexcept

§ size()

template<int allocatedBytes>
int Packed7BitArrayBuilder< allocatedBytes >::size ( ) const
noexcept

§ hasCapacity()

template<int allocatedBytes>
bool Packed7BitArrayBuilder< allocatedBytes >::hasCapacity ( int  bitsNeeded) const
noexcept

§ writeHeaderSysexBytes()

template<int allocatedBytes>
void Packed7BitArrayBuilder< allocatedBytes >::writeHeaderSysexBytes ( uint8  deviceIndex)
noexcept

§ writePacketSysexFooter()

template<int allocatedBytes>
void Packed7BitArrayBuilder< allocatedBytes >::writePacketSysexFooter ( )
noexcept

§ operator<<()

template<int allocatedBytes>
template<int numBits>
Packed7BitArrayBuilder& Packed7BitArrayBuilder< allocatedBytes >::operator<< ( IntegerWithBitSize< numBits >  value)
noexcept

§ writeBits()

template<int allocatedBytes>
void Packed7BitArrayBuilder< allocatedBytes >::writeBits ( uint32  value,
int  numBits 
)
noexcept

§ getState()

template<int allocatedBytes>
State Packed7BitArrayBuilder< allocatedBytes >::getState ( ) const
noexcept

§ restore()

template<int allocatedBytes>
void Packed7BitArrayBuilder< allocatedBytes >::restore ( State  state)
noexcept

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