Table of Contents

Method GetChars

Namespace
Innova.Data
Assembly
Innova.Data.dll

GetChars(int, long, char[], int, int)

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

public long GetChars(int i, long fieldoffset, char[] buffer, int bufferoffset, int length)

Parameters

i int

The zero-based column ordinal.

fieldoffset long

The index within the row from which to start the read operation.

buffer char[]

The buffer into which to read the stream of bytes.

bufferoffset int

The index for buffer to start the read operation.

length int

The number of bytes to read.

Returns

long

The actual number of characters read.

Exceptions

IndexOutOfRangeException

The index passed was outside the range of 0 through FieldCount.