Sign in Join
FPDoc Onlineexperiment

SwapEndian function

In unit System

Swap endianness of the argument.

Declaration

pascal
function SwapEndian(const AValue: SmallInt): SmallInt

Description

SwapEndian will swap the endianness of the bytes in its argument.

Errors

None.

See also

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