软件包 | 描述 |
---|---|
java.nio |
定义了缓冲区,这是数据的容器,并提供其他NIO包的概述。
|
javax.imageio.stream |
一包I/O API处理底层I/O从文件和流的java图像。
|
Modifier and Type | Field and Description |
---|---|
static ByteOrder |
ByteOrder.BIG_ENDIAN
常数表示大端字节顺序。
|
static ByteOrder |
ByteOrder.LITTLE_ENDIAN
常指little-endian字节序。
|
Modifier and Type | Method and Description |
---|---|
static ByteOrder |
ByteOrder.nativeOrder()
检索底层平台的本地字节顺序。
|
ByteOrder |
ByteBuffer.order()
检索此缓冲区的字节顺序。
|
abstract ByteOrder |
FloatBuffer.order()
检索此缓冲区的字节顺序。
|
abstract ByteOrder |
DoubleBuffer.order()
检索此缓冲区的字节顺序。
|
abstract ByteOrder |
LongBuffer.order()
检索此缓冲区的字节顺序。
|
abstract ByteOrder |
CharBuffer.order()
检索此缓冲区的字节顺序。
|
abstract ByteOrder |
IntBuffer.order()
检索此缓冲区的字节顺序。
|
abstract ByteOrder |
ShortBuffer.order()
检索此缓冲区的字节顺序。
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
ByteBuffer.order(ByteOrder bo)
修改此缓冲区的字节顺序。
|
Modifier and Type | Field and Description |
---|---|
protected ByteOrder |
ImageInputStreamImpl.byteOrder
流的字节顺序的枚举类
java.nio.ByteOrder 实例,在
ByteOrder.BIG_ENDIAN 表明网络字节顺序和
ByteOrder.LITTLE_ENDIAN 表示相反的顺序。
|
Modifier and Type | Method and Description |
---|---|
ByteOrder |
ImageInputStreamImpl.getByteOrder() |
ByteOrder |
ImageInputStream.getByteOrder()
返回的字节顺序的数据值将被读取该流的
java.nio.ByteOrder 枚举实例。
|
Modifier and Type | Method and Description |
---|---|
void |
ImageInputStreamImpl.setByteOrder(ByteOrder byteOrder) |
void |
ImageInputStream.setByteOrder(ByteOrder byteOrder)
为未来从该流读取数据值设置所需的字节顺序。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.