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

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

 

readText function

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

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

Remarks

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

Returns

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