help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

LEtoN

Convert Little Endian-ordered integer to Native-ordered integer

Declaration

Source position: line 0

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505