setByteOrderLocal

setByteOrderLocal(architecture: Integer): Decimal;

The setByteOrderLocal method of the Decimal primitive type returns a decimal 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 is a unique number that indicates internal byte ordering and alignment information relevant to the hardware platform of this release of JADE and is returned by the getOSPlatform method of the Node class.

The architecture can be one of the Node class constant values listed in the following table.

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)