fromFile static method

Elf? fromFile(
  1. String path
)

Creates an Elf from the file at path.

Returns null if the file does not start with the ELF magic number.

Implementation

static Elf? fromFile(String path) => Elf.fromReader(Reader.fromFile(path));