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

BEtoN

Convert Big Endian-ordered integer to Native-ordered integer

Declaration

Source position: systemh.inc line 906

function BEtoN(

  const AValue: SmallInt

):SmallInt;

function BEtoN(

  const AValue: Word

):Word;

function BEtoN(

  const AValue: LongInt

):LongInt;

function BEtoN(

  const AValue: DWord

):DWord;

function BEtoN(

  const AValue: Int64

):Int64;

function BEtoN(

  const AValue: QWord

):QWord;

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

LEtoN

  

Convert Little 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


Documentation generated on: May 14 2021