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

 

readBinary function

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

  • length   The maximum number of bytes to read.

Remarks

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

See Also

writeBinary function

Returns

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.