Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » QAnywhere » QAnywhere Reference » QAnywhere C++ API reference » QABinaryMessage class


readString function

qa_int QABinaryMessage::readString(
  qa_string dest,
  qa_int maxLen
  • 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.


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

See Also

writeString function


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.