Skip to content

TWriteBufStream

Write-only buffered stream.

Declaration

Source position: bufstream.pp line 76

type

  TWriteBufStream = class(TBufStream)
  public
    destructor Destroy;
    function Seek : Int64;
    function Write : Integer;
  end;

Description

TWriteBufStream is a write-only buffered stream. It implements the needed methods to write data to the buffer and flush the buffer (i.e., write its contents to the source stream) when needed.

Methods

Member Visibility Description
Destroy public Remove the TWriteBufStream instance from memory.
Seek public Set stream position.
Write public Write data to the stream.
See all Methods

See also

Name Description
TBufStream Common ancestor for buffered streams.
TReadBufStream Read-only buffered stream.