Platform Core .NET Assemblies API
GetBytes Method
See Also  Send Feedback
Terrasoft.Core.DB Namespace > BufferingDataReader Class : GetBytes Method
i
The zero-based column ordinal.
fieldOffset
The index within the field from which to start the read operation.
buffer
The buffer into which to read the stream of bytes.
bufferoffset
The index for buffer to start the read operation.
length
The number of bytes to read.

Glossary Item Box

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

Syntax

 
C#
 
 

Parameters

i
The zero-based column ordinal.
fieldOffset
The index within the field from which to start the read operation.
buffer
The buffer into which to read the stream of bytes.
bufferoffset
The index for buffer to start the read operation.
length
The number of bytes to read.

Return Value

The actual number of bytes read.

Exceptions

ExceptionDescription
System.IndexOutOfRangeExceptionThe index passed was outside the range of 0 through System.Data.IDataRecord.FieldCount.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.