LEtoN¶
Convert Little Endian-ordered integer to Native-ordered integer.
Declaration¶
Source position: systemh.inc line 1056
function LEtoN(const AValue: SmallInt) : SmallInt;
function LEtoN(const AValue: Word) : Word;
function LEtoN(const AValue: LongInt) : LongInt;
function LEtoN(const AValue: DWord) : DWord;
function LEtoN(const AValue: Int64) : Int64;
function LEtoN(const AValue: QWord) : QWord;
Description¶
LEToN will rearrange the bytes in a Little-Endian number to the native order for the current processor. That is, for a little-endian processor, it will do nothing, and for a big-endian processor, it will invert the order of the bytes.