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
The Create constructor creates a new stream linked to the specified file.

Class object properties inherited from IFileStream

  Property name Brief description
The FileName property returns the name of a file linked to a stream.

Class object properties inherited from IIOStream

  Property name Brief description
The Position property determines a position in a stream.
The Size property determines a stream size in bytes.

Class object methods inherited from IIOStream

  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:

IO Assembly Classes