ElfFile.this
this
() @disableDefault constructor - creates an empty ElfFile.
this
(const(ubyte)[] data)Constructor from byte array (non-owned reference).
Parameters
data | Byte array containing ELF file data. |
this
(ubyte[] data)Constructor from owned byte array (takes ownership).
Parameters
data | Byte array containing ELF file data. |
this
(string path)Constructor from file path.
Reads the entire file into memory.
Parameters
path | Path to the ELF file. |
Throws
Exception if the file cannot be read.
this
(File file)Constructor from std.stdio.File.
Reads the entire file into memory.
Parameters
file | File object to read from. |
Throws
Exception if the file cannot be read.
this
(ref ElfFile other)Copy constructor.
Creates a new ElfFile referencing the same data (not owned).
Parameters
other | ElfFile to copy from. |