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.
Class for reading data from a CoLaCommand.
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.
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.