Function colab::addStringToBuffer(UINT8 *, UINT16&, const std::string&)
Defined in File colab.hpp
Function Documentation
-
void colab::addStringToBuffer(UINT8 *buffer, UINT16 &pos, const std::string &stringValue)
Stores the given stringValue to the given buffer. The string is inserted at position pos, and pos is increased by the number of bytes that were written. If the length of stringValue is longer than the remaining space of the buffer, than filling stopps at the end of buffer.