FileFormat

expect interface FileFormat<out T : OpenedFile>(source)

Represents a object or executable file format.

Inheritors

actual interface FileFormat<out T : OpenedFile>(source)

Represents a object or executable file format.

actual interface FileFormat<out T : OpenedFile>(source)

Represents a object or executable file format.

actual interface FileFormat<out T : OpenedFile>(source)

Represents a object or executable file format.

actual interface FileFormat<out T : OpenedFile>(source)

Represents a object or executable file format.

actual interface FileFormat<out T : OpenedFile>(source)

Represents a object or executable file format.

Types

Link copied to clipboard
expect object Companion
actual object Companion
actual object Companion
actual object Companion
actual object Companion
actual object Companion

Functions

Link copied to clipboard

Returns true if this is an ELF file.

Link copied to clipboard

Returns true if this is a Mach-O file.

Link copied to clipboard

Returns true if this is a PE file.

Link copied to clipboard
expect open fun open(bytes: ByteArray): T

Opens and parses a file from the given bytes.

expect open fun open(path: String): T

Opens and parses a file from the given path.

expect abstract fun open(accessor: DataAccessor): T

Opens and parses a file from the given data accessor.

open fun open(file: File): T

Opens and parses a file from the given file.

open fun open(channel: SeekableByteChannel): T

Opens and parses a file from the given channel.

open fun open(path: Path): T
actual open fun open(path: String): T

Opens and parses a file from the given path.

actual open fun open(bytes: ByteArray): T

Opens and parses a file from the given bytes.

actual abstract fun open(accessor: DataAccessor): T

Opens and parses a file from the given data accessor.

actual abstract fun open(accessor: <Error class: unknown class>): T

Opens and parses a file from the given data accessor.

actual open fun open(bytes: ByteArray): T

Opens and parses a file from the given bytes.

actual open fun open(path: String): T

Opens and parses a file from the given path.

actual open fun open(bytes: ByteArray): T

Opens and parses a file from the given bytes.

actual open fun open(path: String): T

Opens and parses a file from the given path.

actual abstract fun open(accessor: DataAccessor): T

Opens and parses a file from the given data accessor.

actual open fun open(bytes: ByteArray): T

Opens and parses a file from the given bytes.

actual open fun open(path: String): T

Opens and parses a file from the given path.

actual abstract fun open(accessor: DataAccessor): T

Opens and parses a file from the given data accessor.

actual open fun open(bytes: ByteArray): T

Opens and parses a file from the given bytes.

actual open fun open(path: String): T

Opens and parses a file from the given path.

actual abstract fun open(accessor: DataAccessor): T

Opens and parses a file from the given data accessor.