Skip to content

TReadBufStream

Read-only buffered stream.

Declaration

Source position: bufstream.pp line 68

type

  TReadBufStream = class(TBufStream)
  public
    function Seek : Int64;
    function Read : Integer;
  end;

Description

TReadBufStream is a read-only buffered stream. It implements the needed methods to read data from the buffer and fill the buffer with additional data when needed.

The stream provides limited forward-seek possibilities.

Methods

Member Visibility Description
Read public Reads data from the stream.
Seek public Set location in the buffer.
See all Methods

See also

Name Description
TBufStream Common ancestor for buffered streams.
TWriteBufStream Write-only buffered stream.