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

SQL Anywhere 10.0.1 » QAnywhere » QAnywhere C++ API Reference » QABinaryMessage class

getBodyLength function Next Page

readBinary function


Synopsis

qa_int QABinaryMessage::readBinary(
qa_bytes value,
qa_int length
)

Parameters
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.