help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

SwapEndian

Swap endianness of the argument

Declaration

Source position: line 0

function SwapEndian(

  const AValue: SmallInt

):SmallInt;

function SwapEndian(

  const AValue: Word

):Word;

function SwapEndian(

  const AValue: LongInt

):LongInt;

function SwapEndian(

  const AValue: DWord

):DWord;

function SwapEndian(

  const AValue: Int64

):Int64;

function SwapEndian(

  const AValue: QWord

):QWord;

Description

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

Errors

None.

See also

hi

  

Return high byte/word of value.

lo

  

Return low byte/word of value.

swap

  

Swap high and low bytes/words of a variable

BEToN

  

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

LEToN

  

Convert Little Endian-ordered integer to Native-ordered integer

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505