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
    public override int Read( 
       byte[] buffer,
       int offset,
       int count
    )

    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.
    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