TStream

From Soldat Community Wiki
Jump to: navigation, search

Inheritance

Description

TStream is the base class for all streaming classes. It defines methods for reading, writing from and to streams, as well as properties determining the size of the stream as well as the current position of the stream.
Descendent classes such as TMemoryStream or TFileStream then override these methods to write streams to memory or file.

user constructable: NO
user destructable:  YES
is virtual:         YES

Members

Member declaration Access mode Inherited
procedure Free no
function Read(Buffer: String; Count: Longint): Longint no
function Write(Buffer: String; Count: Longint): Longint no
function Seek(Offset: Longint; Origin: Word): Longint no
procedure ReadBuffer(Buffer: String; Count: Longint) no
function WriteBuffer(Buffer: String; Count: Longint) no
function CopyFrom(Source: TStream; Count: Int64): Longint no
property Position: Int64 RW no
property Size: Int64 RW no