CqlReader.GetBytes 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.DataAssembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax public override long GetBytes(
int ordinal,
long dataOffset,
byte[] buffer,
int bufferOffset,
int length
)
Parameters
- ordinal
- Type: System.Int32
- dataOffset
- Type: System.Int64
- buffer
- Type:System.Byte[]
The buffer into which to read the stream of bytes. - bufferOffset
- Type: System.Int32
- length
- Type: System.Int32
The number of bytes to read.
Return Value
Type:
Int64The actual number of bytes read.
Implements
IDataRecord.GetBytes(Int32, Int64,Byte[], Int32, Int32)Exceptions Exception | Condition |
---|
IndexOutOfRangeException | The index passed was outside the range of 0 through FieldCount. |
See Also