Difference between revisions of "TStream"
m |
m (→Description) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
==Description== | ==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.<br> | |
+ | Descendent classes such as TMemoryStream or TFileStream 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== |
Latest revision as of 00:22, 21 August 2013
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 |