TDosStream object
DOS file stream.
Declaration
TDosStream = class(TStream)Inheritance
Descends from it: TBufStream
Description
TDosStream is a stream that stores it's contents in a file.
it overrides a couple of methods of
TStream for this.
In addition to the fields inherited from TStream (see TStream),
there are some extra fields, that describe the file. (mainly the name and
the OS file handle)
No buffering in memory is done when using TDosStream.
All data are written directly to the file. For a stream that buffers
in memory, see TBufStream.
Methods
Init | Instantiate a new instance of TDosStream. | |
Done | Closes the file and cleans up the instance. | |
Close | Close the file. | |
Truncate | Truncate the file on the current position. | |
Seek | Set file position. | |
Open | Open the file stream. | |
Read | Read data from the stream to a buffer. | |
Write | Write data from a buffer to the stream. |
Fields
Handle | OS file handle for stream. | |
FName | File name. |
Inherited
From TObject (42)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance Create DefaultHandler DefaultHandlerStr Destroy Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
