Show contents 

IO > IO Assembly Interfaces > IBinaryReader

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
Stream

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

Methods

  Method name Brief description
EndOfList

The EndOfList method returns whether a binary file page end is reached.
ReadBoolean

The ReadBoolean method reads a logical value from a binary file.
ReadChar

The ReadChar method reads characters from a binary file.
ReadDateTime

The ReadDateTime method reads date and time from a binary file.
ReadDouble

The ReadDouble method reads real numbers from a binary file.
ReadInteger

The ReadInteger method reads an integer value from a binary file.
ReadListBegin

The ReadListBegin method reads an indicator of a page start from a binary file.
ReadListEnd

The ReadListEnd method reads an indicator of a page end from a binary file.
ReadString

The ReadString method reads a character string from a binary file.

See also:

IO Assembly Interfaces