Uses of Class
java.nio.ByteOrder
Packages that use 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.
Incubating Feature. Will be removed in a future release.
-
Uses of ByteOrder in java.lang.foreign
Methods in java.lang.foreign that return ByteOrderMethods in java.lang.foreign with parameters of type ByteOrderModifier 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
Methods in java.lang.invoke with parameters of type ByteOrderModifier and TypeMethodDescriptionstatic 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
Modifier and TypeFieldDescriptionstatic final ByteOrderByteOrder.BIG_ENDIANConstant denoting big-endian byte order.static final ByteOrderByteOrder.LITTLE_ENDIANConstant denoting little-endian byte order.Modifier and TypeMethodDescriptionstatic ByteOrderByteOrder.nativeOrder()Retrieves the native byte order of the underlying platform.final 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. -
Uses of ByteOrder in javax.imageio.stream
Fields in javax.imageio.stream declared as ByteOrderModifier and TypeFieldDescriptionprotected 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 ByteOrderModifier and TypeMethodDescriptionImageInputStream.getByteOrder()Returns the byte order with which data values will be read from this stream as an instance of thejava.nio.ByteOrderenumeration.ImageInputStreamImpl.getByteOrder()Methods in javax.imageio.stream with parameters of type ByteOrderModifier and TypeMethodDescriptionvoidImageInputStream.setByteOrder(ByteOrder byteOrder) Sets the desired byte order for future reads of data values from this stream.voidImageInputStreamImpl.setByteOrder(ByteOrder byteOrder) -
Uses of ByteOrder in jdk.incubator.vector
Methods in jdk.incubator.vector with parameters of type ByteOrderModifier and TypeMethodDescriptionstatic ByteVectorByteVector.fromMemorySegment(VectorSpecies<Byte> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static ByteVectorByteVector.fromMemorySegment(VectorSpecies<Byte> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Byte> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.static DoubleVectorDoubleVector.fromMemorySegment(VectorSpecies<Double> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static DoubleVectorDoubleVector.fromMemorySegment(VectorSpecies<Double> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Double> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.static FloatVectorFloatVector.fromMemorySegment(VectorSpecies<Float> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static FloatVectorFloatVector.fromMemorySegment(VectorSpecies<Float> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Float> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.static IntVectorIntVector.fromMemorySegment(VectorSpecies<Integer> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static IntVectorIntVector.fromMemorySegment(VectorSpecies<Integer> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Integer> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.static LongVectorLongVector.fromMemorySegment(VectorSpecies<Long> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static LongVectorLongVector.fromMemorySegment(VectorSpecies<Long> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Long> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.static ShortVectorShortVector.fromMemorySegment(VectorSpecies<Short> species, MemorySegment ms, long offset, ByteOrder bo) Loads a vector from a memory segment starting at an offset into the memory segment.static ShortVectorShortVector.fromMemorySegment(VectorSpecies<Short> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Short> m) Loads a vector from a memory segment starting at an offset into the memory segment and using a mask.VectorSpecies.fromMemorySegment(MemorySegment ms, long offset, ByteOrder bo) Loads a vector of this species from a memory segment starting at an offset into the memory segment.final voidByteVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo) Stores this vector into a memory segment starting at an offset using explicit byte order.final voidByteVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo, VectorMask<Byte> m) Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.final voidDoubleVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo) Stores this vector into a memory segment starting at an offset using explicit byte order.final voidDoubleVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo, VectorMask<Double> m) Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.final voidFloatVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo) Stores this vector into a memory segment starting at an offset using explicit byte order.final voidFloatVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo, VectorMask<Float> m) Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.final voidIntVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo) Stores this vector into a memory segment starting at an offset using explicit byte order.final voidIntVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo, VectorMask<Integer> m) Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.final voidLongVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo) Stores this vector into a memory segment starting at an offset using explicit byte order.final voidLongVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo, VectorMask<Long> m) Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.final voidShortVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo) Stores this vector into a memory segment starting at an offset using explicit byte order.final voidShortVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo, VectorMask<Short> m) Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.abstract voidVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo) Stores this vector into a memory segment starting at an offset using explicit byte order.abstract voidVector.intoMemorySegment(MemorySegment ms, long offset, ByteOrder bo, VectorMask<E> m) Stores this vector into a memory segment starting at an offset using explicit byte order and a mask.