| Package | Description | 
|---|---|
| java.nio | Defines buffers, which are containers for data, and provides an overview of the
other NIO packages. | 
| javax.imageio.stream | A package of the Java Image I/O API dealing with low-level I/O from
files and streams. | 
| Modifier and Type | Field and Description | 
|---|---|
| static ByteOrder | ByteOrder. BIG_ENDIANConstant denoting big-endian byte order. | 
| static ByteOrder | ByteOrder. LITTLE_ENDIANConstant denoting little-endian byte order. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ByteOrder | ByteOrder. nativeOrder()Retrieves the native byte order of the underlying platform. | 
| abstract ByteOrder | ShortBuffer. order()Retrieves this buffer's byte order. | 
| abstract ByteOrder | LongBuffer. order()Retrieves this buffer's byte order. | 
| ByteOrder | ByteBuffer. order()Retrieves this buffer's byte order. | 
| abstract ByteOrder | FloatBuffer. order()Retrieves this buffer's byte order. | 
| abstract ByteOrder | CharBuffer. order()Retrieves this buffer's byte order. | 
| abstract ByteOrder | DoubleBuffer. order()Retrieves this buffer's byte order. | 
| abstract ByteOrder | IntBuffer. order()Retrieves this buffer's byte order. | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteBuffer | ByteBuffer. order(ByteOrder bo)Modifies this buffer's byte order. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ByteOrder | ImageInputStreamImpl. byteOrderThe byte order of the stream as an instance of the enumeration
 class  java.nio.ByteOrder, whereByteOrder.BIG_ENDIANindicates network byte order
 andByteOrder.LITTLE_ENDIANindicates the reverse
 order. | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteOrder | ImageInputStreamImpl. getByteOrder() | 
| ByteOrder | ImageInputStream. getByteOrder()Returns the byte order with which data values will be read from
 this stream as an instance of the
  java.nio.ByteOrderenumeration. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ImageInputStreamImpl. setByteOrder(ByteOrder byteOrder) | 
| void | ImageInputStream. setByteOrder(ByteOrder byteOrder)Sets the desired byte order for future reads of data values
 from this stream. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.