open

open override fun open(accessor: DataAccessor): MachoFile(source)

Opens and parses a file from the given data accessor.

Return

A new file instance

Parameters

accessor

The data accessor that provides access to the file content

Throws

CommonFileException

if the file format is invalid or unsupported

if an I/O error occurs