manipulating binary strings, examples, example, manipulating strings" />
Manipulating binary strings
Strings of binary data are declared as objects of the ImqBinary class. Objects of this class can be copied, compared, and set using the familiar C operators. For example:
#include <imqi.hpp> // C++ classes ImqMessage message ; ImqBinary id, correlationId ; MQBYTE24 byteId ; correlationId.set( byteId, sizeof( byteId ) ); // Set. id = message.id( ); // Assign. if ( correlationId == id ) { // Compare. ...