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

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere .NET API reference » iAnywhere.QAnywhere.Client namespace (.NET 2.0) » QABinaryMessage interface


ReadBinary method

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

Visual Basic
Public Function ReadBinary( _
   ByVal bytes As Byte(), _
   ByVal len As Integer _
) As Integer
public int ReadBinary(
   byte[] bytes,
   int len
  • bytes   The byte array that contains the read bytes.

  • len   The maximum number of bytes to read.

Return value

The number of bytes read from the message body.

  • QAException class - Thrown if there was a conversion error reading the value or if there is no more input.
See also