/**@class java.nio.ByteOrder @extends java.lang.Object A typesafe enumeration for byte orders. @author Mark Reinhold @author JSR-51 Expert Group @since 1.4 */ var ByteOrder = { /** Constant denoting big-endian byte order. In this order, the bytes of a multibyte value are ordered from most significant to least significant. */ BIG_ENDIAN : "null", /** Constant denoting little-endian byte order. In this order, the bytes of a multibyte value are ordered from least significant to most significant. */ LITTLE_ENDIAN : "null", /**Retrieves the native byte order of the underlying platform. <p> This method is defined so that performance-sensitive Java code can allocate direct buffers with the same byte order as the hardware. Native code libraries are often more efficient when such buffers are used. </p> @return {Object {java.nio.ByteOrder}} The native byte order of the hardware upon which this Java virtual machine is running */ nativeOrder : function( ) {}, /**Constructs a string describing this object. <p> This method returns the string <tt>"BIG_ENDIAN"</tt> for {@link #BIG_ENDIAN} and <tt>"LITTLE_ENDIAN"</tt> for {@link #LITTLE_ENDIAN}. </p> @return {String} The specified string */ toString : function( ) {}, };