Packageorg.apache.flex.utils
Classpublic class Endian
InheritanceEndian Inheritance Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The endianness of the byte data.



Public Properties
 PropertyDefined By
  systemEndian : String
[static] [read-only] Indicates the default endianness on the system.
Endian
Public Constants
 ConstantDefined By
  BIG_ENDIAN : String = bigEndian
[static] Indicates the most significant byte of the multibyte number appears first in the sequence of bytes.
Endian
  LITTLE_ENDIAN : String = littleEndian
[static] Indicates the least significant byte of the multibyte number appears first in the sequence of bytes.
Endian
Property Detail
systemEndianproperty
systemEndian:String  [read-only]

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Indicates the default endianness on the system. In swf targets this is always BIG_ENDIAN. When targeting javascript it may differ depending on the target environment, but is Endian.LITTLE_ENDIAN for most machines/browsers. In theory, the native support classes for javascript should have better performance when working with binary data for integers and numbers represented with this endianness.


Implementation
    public static function get systemEndian():String
Constant Detail
BIG_ENDIANConstant
public static const BIG_ENDIAN:String = bigEndian

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Indicates the most significant byte of the multibyte number appears first in the sequence of bytes.

LITTLE_ENDIANConstant 
public static const LITTLE_ENDIAN:String = littleEndian

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Indicates the least significant byte of the multibyte number appears first in the sequence of bytes.