ReadBinary method

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

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

Return value

The number of bytes read from the message body.

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

See also