JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Packages that use ByteOrder
Package
Description
java.lang.invoke
The java.lang.invoke
package contains dynamic language support provided directly by
the Java core class libraries and virtual machine.
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.
Methods in java.lang.invoke with parameters of type ByteOrder
Modifier and Type
Method
Description
static VarHandle
MethodHandles. byteArrayViewVarHandle (Class <?> viewArrayClass,
ByteOrder byteOrder)
Produces a VarHandle giving access to elements of a byte[]
array
viewed as if it were a different primitive array type, such as
int[]
or long[]
.
static VarHandle
MethodHandles. byteBufferViewVarHandle (Class <?> viewArrayClass,
ByteOrder byteOrder)
Produces a VarHandle giving access to elements of a ByteBuffer
viewed as if it were an array of elements of a different primitive
component type to that of byte
, such as int[]
or
long[]
.
Methods in java.nio that return ByteOrder
Modifier and Type
Method
Description
static ByteOrder
ByteOrder. nativeOrder ()
Retrieves the native byte order of the underlying platform.
ByteOrder
ByteBuffer. 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
FloatBuffer. order ()
Retrieves this buffer's byte order.
abstract ByteOrder
IntBuffer. order ()
Retrieves this buffer's byte order.
abstract ByteOrder
LongBuffer. order ()
Retrieves this buffer's byte order.
abstract ByteOrder
ShortBuffer. order ()
Retrieves this buffer's byte order.
Fields in javax.imageio.stream declared as ByteOrder
Modifier and Type
Field
Description
protected ByteOrder
ImageInputStreamImpl. byteOrder
The byte order of the stream as an instance of the enumeration
class java.nio.ByteOrder
, where
ByteOrder.BIG_ENDIAN
indicates network byte order
and ByteOrder.LITTLE_ENDIAN
indicates the reverse
order.
JavaScript is disabled on your browser.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.