IBinaryReader

Description

The IBinaryReader interface contains properties and methods to read binary data.

Inheritance Hierarchy

IBinaryReader

Comments

To read data saved in the binary format, initialize the stream linked to the place, from which data will be read. The following streams are available:

Pass the created stream to the constructor of the BinaryReader class. On working with the constructor the object is created that enables the user to read data in the text format. After that it is possible to read data by using various methods of the IBinaryReader interface. The Eof property enables the user to control data reading and determine when all binary data is read.

Properties

  Property name Brief description
The Stream property returns the stream for working with a binary file as a bytes sequence.

Methods

  Method name Brief description
The EndOfList method returns whether a binary file page end is reached.
The ReadBoolean method reads a logical value from a binary file.
The ReadChar method reads characters from a binary file.
The ReadDateTime method reads date and time from a binary file.
The ReadDouble method reads real numbers from a binary file.
The ReadInteger method reads an integer value from a binary file.
The ReadListBegin method reads an indicator of a page start from a binary file.
The ReadListEnd method reads an indicator of a page end from a binary file.
The ReadString method reads a character string from a binary file.

See also:

IO Assembly Interfaces