Sign in Join
FPDoc Onlineexperiment

NtoLE function

In unit System

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

Declaration

pascal
function NtoLE(const AValue: SmallInt): SmallInt

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.