setByteOrderLocal
setByteOrderLocal(architecture: Integer): Integer;
The setByteOrderLocal method of the Integer primitive type returns an integer that has the bytes ordered as required by the local node. The bytes of the receiver are assumed to be ordered as indicated by the architecture parameter.
The architecture parameter indicates internal byte ordering and alignment information relevant to the hardware platform of this release of JADE and is returned by the
The architecture can be one of the
Node Class Constant | Description |
---|---|
Architecture_32Big_Endian | 32-bit big-endian internal byte ordering and alignment |
Architecture_32Little_Endian | 32-bit little-endian internal byte ordering and alignment |
Architecture_64Big_Endian | 64-bit big-endian internal byte ordering and alignment |
Architecture_64Little_Endian | 64-bit little-endian internal byte ordering and alignment |
Architecture_Gui | Binary data passed in the byte order of the GUI system (currently Windows 32-bit little-endian) |
No constant; that is, zero (0) | Reorders the bytes from network byte order (a standard for passing binary integers across a TCP/IP connection). |