Click or drag to resize
CqlReaderGetBytes Method
Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.

Namespace: Cassandra.Data
Assembly: Cassandra (in Cassandra.dll) Version: 3.1.0
Syntax
C#
public override long GetBytes(
	int ordinal,
	long dataOffset,
	byte[] buffer,
	int bufferOffset,
	int length
)

Parameters

ordinal
Type: SystemInt32
dataOffset
Type: SystemInt64
buffer
Type: SystemByte
The buffer into which to read the stream of bytes.
bufferOffset
Type: SystemInt32
length
Type: SystemInt32
The number of bytes to read.

Return Value

Type: Int64
The actual number of bytes read.

Implements

IDataRecordGetBytes(Int32, Int64, Byte, Int32, Int32)
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThe index passed was outside the range of 0 through FieldCount.
See Also