Go to the documentation of this file.
64 const uint16_t value =
80 const uint32_t value =
int16_t readInt()
Read a signed int (16 bit, range [-32768, 32767]) and advances position by 2 bytes.
CoLaParameterReader(CoLaCommand command)
float readReal()
Read a IEEE-754 single precision (32 bit) and advances position by 4 bytes.
int8_t readSInt()
Read a signed short int (8 bit, range [-128, 127]) and advances position by 1 byte.
void rewind()
Rewind the position to the first parameter.
const std::vector< uint8_t > & getBuffer()
Get the binary data buffer.
size_t getParameterOffset()
Get offset in bytes to where first parameter starts.
uint8_t readUSInt()
Read a unsigned short int (8 bit, range [0, 255]) and advances position by 1 byte.
bool readBool()
Read a boolean and advance the position by 1 byte.
uint16_t readUInt()
Read a unsigned int (16 bit, range [0, 65535]) and advances position by 2 bytes.
int32_t readDInt()
Read a signed double int (32 bit) and advances position by 4 bytes.
double readLReal()
Read a IEEE-754 double precision (64 bit) and advances position by 8 bytes.
std::string readFlexString()
Read a flex string, and advance position according to string size.
uint32_t readUDInt()
Read a unsigned int (32 bit) and advances position by 4 bytes.