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

SQL Anywhere 11.0.1 » QAnywhere » QAnywhere Reference » QAnywhere C++ API reference » QATextMessage class


readText function

qa_int QATextMessage::readText(
  qa_string string,
  qa_int length
  • string   The destination for the text.

  • length   The maximum number of qa_chars to read into the destination. buffer, including the null termination character.


Reads the requested length of text from the current text position into a buffer.


The actual number of non-null qa_chars read, or -1 if the entire text stream has been read.