Language

TraceReader.GetBytes(Int32, Int64, Byte[], Int32, Int32) メソッド

定義

指定された列オフセットから配列としてバッファにバイトストリームを送り込み、指定されたバッファオフセットからスタートします。

public:
 virtual long GetBytes(int ordinal, long fieldOffset, cli::array <System::Byte> ^ buffer, int bufferoffset, int length);
public long GetBytes(int ordinal, long fieldOffset, byte[] buffer, int bufferoffset, int length);
abstract member GetBytes : int * int64 * byte[] * int * int -> int64
override this.GetBytes : int * int64 * byte[] * int * int -> int64
Public Function GetBytes (ordinal As Integer, fieldOffset As Long, buffer As Byte(), bufferoffset As Integer, length As Integer) As Long

パラメーター

ordinal
Int32

バイト配列の値を取得するための列位置を指定する Int32 の値です。

fieldOffset
Int64

読み出し操作を開始するフィールド内のインデックスを指定する Int32 の値です。

buffer
Byte[]

バイトのストリームを読み込むための Byte 配列です。

bufferoffset
Int32

読み取り操作を開始するインデックスを指定する Int32 値。

length
Int32

読み込むバイト数を指定する Int32 値です。

返品

配列に返されるバイト数を指定する Int64 の値です。

実装

例

Readme_Tracer

適用対象