[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert Native-ordered integer to a Big Endian-ordered integer
Source position: systemh.inc line 927
function NtoBE( |
const AValue: SmallInt |
):SmallInt; |
const AValue: Word |
):Word; |
const AValue: LongInt |
):LongInt; |
const AValue: DWord |
):DWord; |
const AValue: Int64 |
):Int64; |
const AValue: QWord |
):QWord; |
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.
|
Convert Big Endian-ordered integer to Native-ordered integer |
|
|
Convert Little Endian-ordered integer to Native-ordered integer |
|
|
Convert Native-ordered integer to a Little Endian-ordered integer |