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 » QABinaryMessage class


readBinary function

qa_int QABinaryMessage::readBinary(
  qa_bytes value,
  qa_int length
  • value   The buffer into which the data is read.

  • length   The maximum number of bytes to read.


Reads a specified number of bytes starting from the unread portion of the QABinaryMessage instance's message body.

See Also

writeBinary function


The total number of bytes read into the buffer, or -1 if there is no more data because the end of the stream has been reached.