Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Reading binary data is simple because you can simply use GetString() in either casewhether the MOOS variable is a string or binary string.  Once you have a string, the .data() method will give you a pointer to the data itself inside the string that you can then use with methods like memcpy.  See endianness and data serialization for more.