aqBinaryFile Object Methods

Applies to TestComplete 15.10, last modified on December 15, 2021

The aqBinaryFile object contains the following methods:

Method List

Name Description
Close Closes the respective binary file applying the changes (if any).
IsEndOfFile Specifies whether the cursor has reached the end of the file.
ReadBool Reads a Boolean value from a file.
ReadByte Reads a 1-byte integer number from a file.
ReadBytes Reads a file and converts it into a byte array.
ReadCurrency Reads a currency value from a file.
ReadDate Reads a date/time value from a file.
ReadFloat Reads a floating-point number from a file.
ReadInt Reads an integer number from a file.
ReadInt64 Reads a 64-bit integer number from a file.
ReadShort Reads a 2-byte integer number from a file.
ReadString Reads the specified number of Unicode characters from a file.
Write Obsolete. Writes a value to a binary file. Use other Write methods instead.
WriteBool Writes a Boolean value to a file.
WriteByte Converts the specified value to a byte value and writes it to a binary file.
WriteBytes Writes a byte array returned by ReadBytes to a file.
WriteCurrency Writes a currency value to a binary file.
WriteDate Writes a date/time value to a binary file.
WriteFloat Writes a floating-point number to a binary file.
WriteInt Writes an integer number to a binary file.
WriteInt64 Writes a 64-bit integer number to a binary file.
WriteShort Writes a 2-byte integer number to a binary file.
WriteString Writes a string to a binary file.

See Also

aqBinaryFile Object

Highlight search results