isElfMagic
fn
bool isElfMagic(const(ubyte)[] data) pure nothrow @nogc @safeCheck if a byte array starts with the ELF magic number.
The ELF magic number is: 0x7F 'E' 'L' 'F'
Parameters
data | The byte array to check. |
Returns
true if data starts with the ELF magic number.