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 Java API reference » QAnywhere Java API for clients » QABinaryMessage interface

 

readBinary method

Syntax
int QABinaryMessage.readBinary(
  byte[] dest,
  int offset, 
  int length
)
throws QAException
Parameters
  • dest   The byte array to hold the read bytes.

  • offset   The start offset of the destination array.

  • length   The maximum number of bytes to read.

Throws
  • Thrown if there was a conversion error reading the value or if there is no more input.

Remarks

Reads a specified number of bytes starting from the unread portion of a QABinaryMessage instance body and stores them into the array dest starting at dest[offset].

See Also

writeBinary method

Returns

The number of bytes read from the message body.