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.