Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

ObjectDataReader<(Of <(<'TObject>)>)>..::..GetBytes Method

Reads a stream of bytes from the specified column, starting at location indicated by dataOffset, into the buffer, starting at the location indicated by bufferOffset.

Namespace:  Tortuga.Chain
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


public long GetBytes(
	int ordinal,
	long dataOffset,
	Nullable<byte>[] buffer,
	int bufferOffset,
	int length
)
Public Function GetBytes ( _
	ordinal As Integer, _
	dataOffset As Long, _
	buffer As Nullable(Of Byte)(), _
	bufferOffset As Integer, _
	length As Integer _
) As Long
public:
long long^ GetBytes(
	int^ ordinal, 
	long long^ dataOffset, 
	array<Nullable<unsigned char^>>^ buffer, 
	int^ bufferOffset, 
	int^ length
)

Parameters

ordinal
Type: Int32
The zero-based column ordinal.
dataOffset
Type: Int64
The index within the row from which to begin the read operation.
buffer
Type: array<Nullable<(Of <(<'Byte>)>)>>[]()[][]
The buffer into which to copy the data.
bufferOffset
Type: Int32
The index with the buffer to which the data will be copied.
length
Type: Int32
The maximum number of characters to read.

Return Value

The actual number of bytes read.

Exceptions


ExceptionCondition
[NotImplementedException]