Class TBufferedOutputStream (unit SuperStream)

Inherits from

TStreamAdapter

The buffered output stream adapter can accelerate the use of underlying streams. Note that you can only write sequentially to this stream; reading or seeking will throw an exception.

Constructors


constructor Create(targetStream : TStream; bufSize : Integer; Owned : Boolean);



Functions

destructor Destroy;


function Read(var Buffer; Count: Longint): Longint;


function Seek(Offset: Longint; Origin: Word): Longint;


function Write(const Buffer; Count: Longint): Longint;


Properties

property BufferSize : Integer


Events

Variables


Constructors


constructor Create(targetStream : TStream; bufSize : Integer; Owned : Boolean);


Functions


destructor Destroy;


function Read(var Buffer; Count: Longint): Longint;


function Seek(Offset: Longint; Origin: Word): Longint;


function Write(const Buffer; Count: Longint): Longint;


Properties


property BufferSize : Integer


Events


Variables