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

NtoLE

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

Declaration

Source position: systemh.inc line 927

function NtoLE(

  const AValue: SmallInt

):SmallInt;

function NtoLE(

  const AValue: Word

):Word;

function NtoLE(

  const AValue: LongInt

):LongInt;

function NtoLE(

  const AValue: DWord

):DWord;

function NtoLE(

  const AValue: Int64

):Int64;

function NtoLE(

  const AValue: QWord

):QWord;

Description

NToLE will rearrange the bytes in a natively-ordered number to the little-Endian order. That is, for a Big-Endian processor, it will invert the order of the bytes and for a Little-Endian processor, it will do nothing.

See also

BEtoN

  

Convert Big Endian-ordered integer to Native-ordered integer

LEtoN

  

Convert Little Endian-ordered integer to Native-ordered integer

NtoBE

  

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


Documentation generated on: May 14 2021