dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlLargeObject Class / Read Method
An array of bytes. When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source.
The zero-based byte offset in buffer at which to begin storing the data read from the large object.
The maximum number of bytes to be read from the large object.

In This Topic
Read Method (PgSqlLargeObject)
In This Topic
Reads a sequence of bytes from the large object.
Syntax
'Declaration
 
Public Overrides Function Read( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
) As Integer
 

Parameters

buffer
An array of bytes. When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source.
offset
The zero-based byte offset in buffer at which to begin storing the data read from the large object.
count
The maximum number of bytes to be read from the large object.

Return Value

The total number of bytes read into the buffer.
See Also