/**
 * * Licensed under the Apache License, Version 2.0 (the 'License');
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an 'AS IS' BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Generated by Apache Flex Cross-Compiler from org/apache/flex/utils/Endian.as
 * org.apache.flex.utils.Endian
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

goog.provide('org.apache.flex.utils.Endian');
goog.require('org.apache.flex.utils.Language');



/**
 * @constructor
 */
org.apache.flex.utils.Endian = function() {
};


/**
 * @export
 * @const
 * @type {string}
 */
org.apache.flex.utils.Endian.BIG_ENDIAN = "bigEndian";


/**
 * @export
 * @const
 * @type {string}
 */
org.apache.flex.utils.Endian.LITTLE_ENDIAN = "littleEndian";


/**
 * @private
 * @type {string}
 */
org.apache.flex.utils.Endian._sysEndian = function() {
  var /** @type {Uint8Array} */ tester = new Uint8Array([102, 108, 101, 120]);
  var /** @type {Uint32Array} */ checker = new Uint32Array(tester.buffer);
  var /** @type {number} */ check = Number(checker[0]);
  return (check == 1718379896) ? org.apache.flex.utils.Endian.BIG_ENDIAN : org.apache.flex.utils.Endian.LITTLE_ENDIAN;
}();Object.defineProperties(org.apache.flex.utils.Endian, /** @lends {org.apache.flex.utils.Endian} */ {
/** @expose */
systemEndian: {
get: function() {
  
  return org.apache.flex.utils.Endian._sysEndian;
}}}
);


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.flex.utils.Endian.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Endian', qName: 'org.apache.flex.utils.Endian'}] };


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.flex.utils.Endian', org.apache.flex.utils.Endian);



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.flex.utils.Endian.prototype.FLEXJS_REFLECTION_INFO = function () {
  return {
    variables: function () {
      return {
      };
    },
    accessors: function () {
      return {
      };
    },
    methods: function () {
      return {
      };
    }
  };
};