getElfDataEncoding

fnubyte getElfDataEncoding(ElfEndian endian) pure nothrow @nogc @safe

Get the ELF data encoding value from an ELF endianness.

Parameters

endianThe ELF endianness.

Returns

The corresponding EI_DATA value for the ELF header.