TStream

From Soldat Community Wiki
Revision as of 01:21, 21 August 2013 by Mighty (talk | contribs) (Description)
Jump to: navigation, search

Inheritance

Description

TStream is the base class for all streaming classes. It defines methods for reading and writing from and to streams.
Descendent classes 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