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 リファレンス » QAnywhere .NET API リファレンス » クライアント用 QAnywhere .NET API (.NET 2.0) » QABinaryMessage インタフェース

 

ReadBinary メソッド

QABinaryMessage インスタンスの本文未読部分の先頭から、指定されたバイト数を読み込みます。

構文
Visual Basic
Public Function ReadBinary( _
   ByVal bytes As Byte(), _
   ByVal offset As Integer, _
   ByVal len As Integer _
) As Integer
C#
public int ReadBinary(
   byte[] bytes,
   int offset, 
   int len
);
パラメータ
  • bytes   読み込まれるバイトを含む byte 配列。

  • offset   コピー先の配列の開始オフセット。

  • len   読み込むバイト数の最大値。

戻り値

メッセージ本文から読み込まれるバイト数。

例外
  • QAException クラス - 値の読み込みで変換エラーが発生した場合、または読み込める入力が残っていない場合にスローされます。

参照