Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
Endian

Package | org.apache.flex.utils
Class | public class Endian
Inheritance | Endian 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

| Property | Defined By
--- | --- | ---
|  | systemEndian : String [static] [read-only] Indicates the default endianness on the system. | Endian

Public Constants

| Constant | Defined 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

systemEndian | property

`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_ENDIAN | Constant

`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_ENDIAN | Constant |

`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.

Mon Sep 5 2016, 07:19 AM -07:00