Difference between revisions of "TFileStream"

From Soldat Community Wiki
Jump to: navigation, search
m (Inheritance)
m (Members)
Line 14: Line 14:
 
|-
 
|-
 
! Member declaration !! Access mode !! Inherited
 
! Member declaration !! Access mode !! Inherited
|-
 
| procedure [[TFileStream.Free|Free]]
 
|
 
| align="center" | no
 
 
|-
 
|-
 
| procedure [[TFileStream.Clear|Clear]]
 
| procedure [[TFileStream.Clear|Clear]]
Line 44: Line 40:
 
|-
 
|-
 
| colspan="3" |     
 
| colspan="3" |     
 +
|-
 +
| procedure [[TStream.Free|Free]]
 +
|
 +
| align="center" | yes
 
|-
 
|-
 
| function [[TStream.Read|Read]](Buffer:String;Count:LongInt):LongInt
 
| function [[TStream.Read|Read]](Buffer:String;Count:LongInt):LongInt

Revision as of 00:12, 27 July 2013

Inheritance

Description

A binary stream to read/write from/to file

user constructable: NO
user destructable:  YES

Members

Member declaration Access mode Inherited
procedure Clear no
procedure LoadFromStream(Stream:TStream) no
procedure LoadFromFile(FileName:String) no
procedure SaveToStream(Stream:TStream) no
procedure SaveToFile(FileName:String) no
procedure SetSize(NewSize:LongInt) no
procedure Free yes
function Read(Buffer:String;Count:LongInt):LongInt yes
function Write(Buffer:String;Count:LongInt):LongInt yes
function Seek(Offset:LongInt;Origin:Word):LongInt yes
procedure ReadBuffer(Buffer:String;Count:LongInt) yes
procedure WriteBuffer(Buffer:String;Count:LongInt) yes
function CopyFrom(Source:TStream;Count:Int64):LongInt yes
property Position: Int64 RW yes
property TStream.Size: Int64 RW yes