getElfEndian
fn
types.ElfData getElfEndian(const(ubyte)[] data)Get the ELF endianness from ELF data.
Parameters
data | Byte array containing ELF file data. |
Returns
The ELF endianness (LSB or MSB).
Throws
Exception if data is too short or contains invalid endianness.