[]
        
(Showing Draft Content)

C1.DataConnector.C1DataReaderBase.GetBytes

GetBytes Method

GetBytes(int, long, byte[], int, int)

Writes in the passed buffer a number of bytes read from within a column.

Declaration
public override long GetBytes(int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length)
Parameters
Type Name Description
int ordinal

The zero-based column ordinal.

long dataOffset

The index within the field from which to begin the read operation.

byte[] buffer

The buffer into which to read the stream of bytes.

int bufferOffset

The index within the buffer where the write operation is to start.

int length

The maximum length to copy into the buffer.

Returns
Type Description
long

The actual number of bytes read.

Overrides