[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert Little Endian-ordered integer to Native-ordered integer
Source position: line 0
function LEtoN( |
const AValue: SmallInt |
):SmallInt; |
const AValue: Word |
):Word; |
const AValue: LongInt |
):LongInt; |
const AValue: DWord |
):DWord; |
const AValue: Int64 |
):Int64; |
const AValue: QWord |
):QWord; |
LEToN will rearrange the bytes in a Little-Endian number to the native order for the current processor. That is, for a little-endian processor, it will do nothing, and for a big-endian processor, it will invert the order of the bytes.
|
Convert Big Endian-ordered integer to Native-ordered integer |
|
|
Convert Native-ordered integer to a Big Endian-ordered integer |
|
|
Convert Native-ordered integer to a Little Endian-ordered integer |
lazarus-ccr.sourceforge.net |