English | Site Directory

Android - An Open Handset Alliance Project

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()
Answers the current platform byte order.
        String  toString()
Answers 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()

Answers the current platform byte order.

Returns

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

public String toString()

Answers a string containing a concise, human-readable description of the receiver.
Build m5-rc15i - 10 Jun 2008 13:54