Sign in Join
FPDoc Onlineexperiment

NtoBE function

In unit System

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

Declaration

pascal
function NtoBE(const AValue: SmallInt): SmallInt

Description

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

See also

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