Sign in Join
FPDoc Onlineexperiment

BEtoN function

In unit System

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

Declaration

pascal
function BEtoN(const AValue: SmallInt): SmallInt

Description

BEToN will rearrange the bytes in a Big-Endian number to the native order for the current processor. That is, for a big-endian processor, it will do nothing, and for a little-endian processor, it will invert the order of the bytes.

See also

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