Skip to content

CFileBin

CFileBin

CFileBin is a class for simplified access to binary files.

Description

CFileBin class provides access to binary files.

Declaration

class CFileBin: public CFile

Title

#include <Files\FileBin.mqh>

Inheritance hierarchy

CObject

CFile

CFileBin

Class Methods by Groups

Open methods
OpenOpens a binary file
Write methods
WriteCharWrites char or uchar type variable
WriteShortWrites short or ushort type variable
WriteIntegerWrites int or uint type variable
WriteLongWrites long or ulong type variable
WriteFloatWrites float type variable
WriteDoubleWrites double type variable
WriteStringWrites string type variable
WriteCharArrayWrites an array of char or uchar type variables
WriteShortArrayWrites an array of short or ushort type variables
WriteIntegerArrayWrites an array of int or uint type variables
WriteLongArrayWrites an array of long or ulong type variables
WriteFloatArrayWrites an array of float variables
WriteDoubleArrayWrites an array of double type variables
WriteObjectWrites data of the CObject class inheritor instance
Read methods
ReadCharReads char or uchar type variable
ReadShortReads short or ushort type variable
ReadIntegerReads int or uint type variable
ReadLongReads long or ulong type variable
ReadFloatReads float type variable
ReadDoubleReads double type variable
ReadStringReads string type variable
ReadCharArrayReads an array of char or uchar type variables
ReadShortArrayReads an array of short or ushort type variables
ReadIntegerArrayReads an array of int or uint type variables
ReadLongArrayReads an array of long or ulong type variables
ReadFloatArrayReads an array of float type variables
ReadDoubleArrayReads an array of double type variables
ReadObjectReads data of the CObject class inheritor instance

Methods inherited from class CFile

: Handle, FileName, Flags, SetUnicode, SetCommon, Open, Close, Delete, Size, Tell, Seek, Flush, IsEnding, IsLineEnding, Delete, IsExist, Copy, Move, FolderCreate, FolderDelete, FolderClean, FileFindFirst, FileFindNext, FileFindClose

Last updated on