Uses of Class
java.nio.ByteOrder
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.Defines buffers, which are containers for data, and provides an
overview of the other NIO packages.
A package of the Java Image I/O API dealing with low-level I/O from files and
streams.
-
Uses of ByteOrder in java.lang.foreign
Modifier and TypeMethodDescriptionReturns a value layout with the same characteristics as this layout, but with the given byte order.Returns a value layout with the same characteristics as this layout, but with the given byte order.Returns a value layout with the same characteristics as this layout, but with the given byte order.Returns a value layout with the same characteristics as this layout, but with the given byte order.Returns a value layout with the same characteristics as this layout, but with the given byte order.Returns a value layout with the same characteristics as this layout, but with the given byte order.Returns a value layout with the same characteristics as this layout, but with the given byte order.Returns a value layout with the same characteristics as this layout, but with the given byte order.Returns a value layout with the same characteristics as this layout, but with the given byte order.Returns a value layout with the same characteristics as this layout, but with the given byte order. -
Uses of ByteOrder in java.lang.invoke
Modifier and TypeMethodDescriptionstatic VarHandle
MethodHandles.byteArrayViewVarHandle
(Class<?> viewArrayClass, ByteOrder byteOrder) Produces a VarHandle giving access to elements of abyte[]
array viewed as if it were a different primitive array type, such asint[]
orlong[]
.static VarHandle
MethodHandles.byteBufferViewVarHandle
(Class<?> viewArrayClass, ByteOrder byteOrder) Produces a VarHandle giving access to elements of aByteBuffer
viewed as if it were an array of elements of a different primitive component type to that ofbyte
, such asint[]
orlong[]
. -
Uses of ByteOrder in java.nio
Modifier and TypeFieldDescriptionstatic final ByteOrder
ByteOrder.BIG_ENDIAN
Constant denoting big-endian byte order.static final ByteOrder
ByteOrder.LITTLE_ENDIAN
Constant denoting little-endian byte order.Modifier and TypeMethodDescriptionstatic ByteOrder
ByteOrder.nativeOrder()
Retrieves the native byte order of the underlying platform.final 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. -
Uses of ByteOrder in javax.imageio.stream
Modifier and TypeFieldDescriptionprotected ByteOrder
ImageInputStreamImpl.byteOrder
The byte order of the stream as an instance of the enumeration classjava.nio.ByteOrder
, whereByteOrder.BIG_ENDIAN
indicates network byte order andByteOrder.LITTLE_ENDIAN
indicates the reverse order.Modifier and TypeMethodDescriptionImageInputStream.getByteOrder()
Returns the byte order with which data values will be read from this stream as an instance of thejava.nio.ByteOrder
enumeration.ImageInputStreamImpl.getByteOrder()
Modifier and TypeMethodDescriptionvoid
ImageInputStream.setByteOrder
(ByteOrder byteOrder) Sets the desired byte order for future reads of data values from this stream.void
ImageInputStreamImpl.setByteOrder
(ByteOrder byteOrder)