IBinaryReader

Description

The IBinaryReader interface contains properties and methods for reading 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 designer of the BinaryReader class. On working with the designer 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 a stream for work with a binary file as a bytes sequence.

Methods

  Method name Brief description
The EndOfList method returns a flag of a page end of a binary file.
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 beginning 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