[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

LEtoN

Convert Little Endian-ordered integer to Native-ordered integer

Declaration

Source position: systemh.inc line 913

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.

See also

BEtoN

  

Convert Big Endian-ordered integer to Native-ordered integer

NtoBE

  

Convert Native-ordered integer to a Big Endian-ordered integer

NtoLE

  

Convert Native-ordered integer to a Little Endian-ordered integer


Documentation generated on: May 14 2021