readString function

Syntax
qa_int QABinaryMessage::readString(
  qa_string dest,
  qa_int maxLen
)
Parameters
  • dest   The destination of the qa_string value read from the bytes message stream.

  • maxLen   The maximum number of characters to read, including the null terminator character.

Remarks

Reads a string value starting from the unread portion of the QABinaryMessage instance's message body.

See Also

writeString function

Returns

The total number of non-null qa_chars read into the buffer, -1 if there is no more data or an error occurred, or -2 if the buffer is too small.