FileStream
Description
The FileStream class implements an object that is a stream linked to a file.
Comments
A stream linked to a file can be used to read and write data into a file. It is used on working with binary files (BinaryReader, BinaryWriter) and with text files (TextReader, TextWriter). The stream can also be used to save or read settings of various repository objects on calling corresponding object methods.
Constructors
|
Constructor name |
Brief description |
|
Create |
The Create constructor creates a new stream linked to the specified file. |
Class object properties inherited from IFileStream
|
Property name |
Brief description |
|
FileName |
The FileName property returns the name of a file linked to a stream. |
Class object properties inherited from IIOStream
|
Property name |
Brief description |
|
Position |
The Position property determines a position in a stream. |
|
Size |
The Size property determines a stream size in bytes. |
Class object methods inherited from IIOStream
|
Method name |
Brief description |
|
CopyFrom |
The CopyFrom method copies data from the specified stream to the current stream. |
|
ReadByte |
The ReadByte method reads a data byte from a stream. |
|
Seek |
The Seek method sets a position in a stream taking into account offset parameters and stream positioning. |
|
WriteByte |
The WriteByte method writes a data byte into a stream. |
See also:
IO Assembly Classes