IO > IO Assembly Classes > FileStream
The FileStream class implements an object that is a stream linked to a file.
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.
Constructor name | Brief description | |
![]() |
The Create constructor creates a new stream linked to the specified file. |
Property name | Brief description | |
![]() |
The FileName property returns the name of a file linked to a stream. |
Property name | Brief description | |
![]() |
The Position property determines a position in a stream. | |
![]() |
The Size property determines a stream size in bytes. |
Method name | Brief description | |
![]() |
The CopyFrom method copies data from the specified stream to the current stream. | |
![]() |
The ReadByte method reads a data byte from a stream. | |
![]() |
The Seek method sets a position in a stream taking into account offset parameters and stream positioning. | |
![]() |
The WriteByte method writes a data byte into a stream. |
See also: