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


readBinary method

int QABinaryMessage.readBinary(
  byte[] dest,
  int offset, 
  int length
throws QAException
  • 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.

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


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


The number of bytes read from the message body.