# **BinFile** class reference

**BinFile** class allow read/write binary data from/to file.

## Functions

### BinFile.open

``BinFile.open(fileName, flags)``

### BinFile.eof

``BinFile.eof()``

### BinFile.close

``BinFile.close()``

### BinFile.toString

``BinFile.toString()``

### BinFile.readHex

``BinFile.readHex(offset, size)``

### BinFile.writeHex

``BinFile.writeHex(offset, data)``

### BinFile.writeAll

``BinFile.writeHex(str)``

### BinFile.append

``BinFile.append(str)``

### BinFile.appendHex

``BinFile.appendHex(str)``

### BinFile.appendLine

``BinFile.appendLine(str)``
