'UsageDim instance As MimerDataReader Dim i As Integer Dim fieldOffset As Long Dim buffer() As Byte Dim bufferOffset As Integer Dim length As Integer Dim value As Long value = instance.GetBytes(i, fieldOffset, buffer, bufferOffset, length)
public override long GetBytes( int i, long fieldOffset, byte[] buffer, int bufferOffset, int length )
public function GetBytes( i: Integer; fieldOffset: Int64; buffer: Bytearray of; bufferOffset: Integer; length: Integer ): Int64; override;
Parameters
- i
- The zero-based column ordinal position.
- fieldOffset
- The offset within the field from which to begin the read operation.
- buffer
- The buffer into which to read the stream of bytes.
- bufferOffset
- The offset for buffer to begin the read operation.
- length
- The maximum length to copy into the buffer.
Return Value
The actual number of bytes read.