加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090319124103/http://developer.android.com:80/reference/java/nio/ByteOrder.html
public final class

ByteOrder

extends Object
java.lang.Object
   ↳ java.nio.ByteOrder

Class Overview

Holds byte order constants.

Summary

Constants
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.
[Expand]
Inherited Methods
From class java.lang.Object

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.