TraceReader.GetBytes(Int32, Int64, Byte[], Int32, Int32) Method

Definition

Gets a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.

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

Parameters

ordinal
Int32

An Int32 value that specifies the column position from which to retrieve the byte array value.

fieldOffset
Int64

An Int32 value that specifies the index within the field from which to begin the read operation.

buffer
Byte[]

A Byte array into which to read the stream of bytes.

bufferoffset
Int32

An Int32 value that specifies the index at which to begin the read operation.

length
Int32

An Int32 value that specifies the number of bytes to read.

Returns

An Int64 value that specifies the number of bytes returned in the array.

Implements

Examples

Readme_Tracer

Applies to