Uses of Class
java.nio.ByteOrder
| Package | Description |
|---|---|
| java.lang.invoke |
The
java.lang.invoke package provides low-level primitives for interacting
with the Java 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.
|
| jdk.incubator.foreign |
Classes to support low-level, safe and efficient memory access.
|
-
Uses of ByteOrder in java.lang.invoke
Methods in java.lang.invoke with parameters of type ByteOrder Modifier and Type Method Description static VarHandleMethodHandles. 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 VarHandleMethodHandles. byteBufferViewVarHandle(Class<?> viewArrayClass, ByteOrder byteOrder)Produces a VarHandle giving access to elements of aByteBufferviewed 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
Fields in java.nio declared as ByteOrder Modifier and Type Field Description static ByteOrderByteOrder. BIG_ENDIANConstant denoting big-endian byte order.static ByteOrderByteOrder. LITTLE_ENDIANConstant denoting little-endian byte order.Methods in java.nio that return ByteOrder Modifier and Type Method Description static ByteOrderByteOrder. nativeOrder()Retrieves the native byte order of the underlying platform.ByteOrderByteBuffer. order()Retrieves this buffer's byte order.abstract ByteOrderCharBuffer. order()Retrieves this buffer's byte order.abstract ByteOrderDoubleBuffer. order()Retrieves this buffer's byte order.abstract ByteOrderFloatBuffer. order()Retrieves this buffer's byte order.abstract ByteOrderIntBuffer. order()Retrieves this buffer's byte order.abstract ByteOrderLongBuffer. order()Retrieves this buffer's byte order.abstract ByteOrderShortBuffer. order()Retrieves this buffer's byte order.Methods in java.nio with parameters of type ByteOrder Modifier and Type Method Description ByteBufferByteBuffer. order(ByteOrder bo)Modifies this buffer's byte order. -
Uses of ByteOrder in javax.imageio.stream
Fields in javax.imageio.stream declared as ByteOrder Modifier and Type Field Description protected ByteOrderImageInputStreamImpl. byteOrderThe byte order of the stream as an instance of the enumeration classjava.nio.ByteOrder, whereByteOrder.BIG_ENDIANindicates network byte order andByteOrder.LITTLE_ENDIANindicates the reverse order.Methods in javax.imageio.stream that return ByteOrder Modifier and Type Method Description ByteOrderImageInputStream. getByteOrder()Returns the byte order with which data values will be read from this stream as an instance of thejava.nio.ByteOrderenumeration.Methods in javax.imageio.stream with parameters of type ByteOrder Modifier and Type Method Description voidImageInputStream. setByteOrder(ByteOrder byteOrder)Sets the desired byte order for future reads of data values from this stream. -
Uses of ByteOrder in jdk.incubator.foreign
Methods in jdk.incubator.foreign that return ByteOrder Modifier and Type Method Description ByteOrderValueLayout. order()Returns the value's byte order.Methods in jdk.incubator.foreign with parameters of type ByteOrder Modifier and Type Method Description static ValueLayoutMemoryLayout. ofValueBits(long size, ByteOrder order)Create a value layout of given byte order and size.static VarHandleMemoryHandles. varHandle(Class<?> carrier, long alignmentBytes, ByteOrder byteOrder)Creates a memory access var handle with the given carrier type, alignment constraint, and byte order.static VarHandleMemoryHandles. varHandle(Class<?> carrier, ByteOrder byteOrder)Creates a memory access var handle with the given carrier type and byte order.ValueLayoutValueLayout. withOrder(ByteOrder order)Returns a new value layout with given byte order.