Android
java.nio
public final class

java.nio.ByteOrder

java.lang.Object
java.nio.ByteOrder

Holds byte order constants.

Summary

Constants

      Value  
ByteOrder  BIG_ENDIAN  This constant represents big endian.     
ByteOrder  LITTLE_ENDIAN  This constant represents little endian.     

Public Methods

      static    ByteOrder  nativeOrder()
Returns the current platform byte order.
          String  toString()
Returns a string containing a concise, human-readable description of the receiver.
Methods inherited from class java.lang.Object

Details

Constants

public static final ByteOrder BIG_ENDIAN

This constant represents big endian.

public static final ByteOrder LITTLE_ENDIAN

This constant represents little endian.

Public Methods

public static ByteOrder nativeOrder()

Returns the current platform byte order.

Returns

  • the byte order object, which is either identical to LITTLE_ENDIAN or BIG_ENDIAN.

public String toString()

Returns a string containing a concise, human-readable description of the receiver.

Returns

  • String a printable representation for the receiver.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56