CAST II Game Engine |
||||||||
![]() |
MAIN | FEATURES | SCREENSHOTS | FORUMS | MANUAL | DOWNLOADS | CONTACTS | |
type TFileStream = class(TStream)
Provides streaming implementation for binary files
TStream![]() | constructor Create(const AFileName: string; const Usage: Integer = fuReadWrite; const ShareMode: Integer = smAllowAll); |
![]() | destructor Destroy; override; |
![]() | procedure Close; |
![]() | function Open(const Usage: Integer; const ShareMode: Integer): Boolean; |
![]() | function Read(out Buffer; const Count: Cardinal): Cardinal; override; |
![]() | function Seek(const NewPos: Cardinal): Boolean; override; |
![]() | procedure SetSize(const Value: Cardinal); override; |
![]() | function Write(const Buffer; const Count: Cardinal): Cardinal; override; |
![]() | constructor Create(const AFileName: string; const Usage: Integer = fuReadWrite; const ShareMode: Integer = smAllowAll); |
Creates a file stream associating it with file with the given file name
![]() | destructor Destroy; override; |
![]() | procedure Close; |
Close file
![]() | function Open(const Usage: Integer; const ShareMode: Integer): Boolean; |
Open file with the specified usage and sharing mode
![]() | function Read(out Buffer; const Count: Cardinal): Cardinal; override; |
![]() | function Seek(const NewPos: Cardinal): Boolean; override; |
![]() | procedure SetSize(const Value: Cardinal); override; |
Changes current size of the stream
![]() | function Write(const Buffer; const Count: Cardinal): Cardinal; override; |
![]() | property Filename: string; |
![]() | property Filename: string; |
Associated file name
|
Last modified: Jan 6, 2010 |