Difference between revisions of "TStream"
m |
m (→Description) |
||
Line 5: | Line 5: | ||
==Description== | ==Description== | ||
− | + | [[TStream]] is the base class for all streaming classes. It defines methods for reading and writing from and to streams.<br> | |
+ | Descendent classes then override these methods to write streams to memory or file. | ||
user constructable: '''NO''' | user constructable: '''NO''' | ||
user destructable: '''YES''' | user destructable: '''YES''' | ||
+ | is virtual: '''YES''' | ||
==Members== | ==Members== |
Revision as of 00:21, 21 August 2013
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 |