Uses of Class
jdk.incubator.foreign.ValueLayout
Package | Description |
---|---|
jdk.incubator.foreign |
Classes to support low-level, safe and efficient memory access.
|
-
Uses of ValueLayout in jdk.incubator.foreign
Fields in jdk.incubator.foreign declared as ValueLayout Modifier and Type Field Description static ValueLayout
MemoryLayouts. BITS_16_BE
A value layout constant with size of two bytes, and byte order set toByteOrder.BIG_ENDIAN
.static ValueLayout
MemoryLayouts. BITS_16_LE
A value layout constant with size of two bytes, and byte order set toByteOrder.LITTLE_ENDIAN
.static ValueLayout
MemoryLayouts. BITS_32_BE
A value layout constant with size of four bytes, and byte order set toByteOrder.BIG_ENDIAN
.static ValueLayout
MemoryLayouts. BITS_32_LE
A value layout constant with size of four bytes, and byte order set toByteOrder.LITTLE_ENDIAN
.static ValueLayout
MemoryLayouts. BITS_64_BE
A value layout constant with size of eight bytes, and byte order set toByteOrder.BIG_ENDIAN
.static ValueLayout
MemoryLayouts. BITS_64_LE
A value layout constant with size of eight bytes, and byte order set toByteOrder.LITTLE_ENDIAN
.static ValueLayout
MemoryLayouts. BITS_8_BE
A value layout constant with size of one byte, and byte order set toByteOrder.BIG_ENDIAN
.static ValueLayout
MemoryLayouts. BITS_8_LE
A value layout constant with size of one byte, and byte order set toByteOrder.LITTLE_ENDIAN
.static ValueLayout
MemoryLayouts. JAVA_BYTE
A value layout constant whose size is the same as that of a Javabyte
, and byte order set toByteOrder.nativeOrder()
.static ValueLayout
MemoryLayouts. JAVA_CHAR
A value layout constant whose size is the same as that of a Javachar
, and byte order set toByteOrder.nativeOrder()
.static ValueLayout
MemoryLayouts. JAVA_DOUBLE
A value layout constant whose size is the same as that of a Javadouble
, and byte order set toByteOrder.nativeOrder()
.static ValueLayout
MemoryLayouts. JAVA_FLOAT
A value layout constant whose size is the same as that of a Javafloat
, and byte order set toByteOrder.nativeOrder()
.static ValueLayout
MemoryLayouts. JAVA_INT
A value layout constant whose size is the same as that of a Javaint
, and byte order set toByteOrder.nativeOrder()
.static ValueLayout
MemoryLayouts. JAVA_LONG
A value layout constant whose size is the same as that of a Javalong
, and byte order set toByteOrder.nativeOrder()
.static ValueLayout
MemoryLayouts. JAVA_SHORT
A value layout constant whose size is the same as that of a Javashort
, and byte order set toByteOrder.nativeOrder()
.Methods in jdk.incubator.foreign that return ValueLayout Modifier and Type Method Description static ValueLayout
MemoryLayout. ofValueBits(long size, ByteOrder order)
Create a value layout of given byte order and size.ValueLayout
ValueLayout. withBitAlignment(long alignmentBits)
Creates a new layout which features the desired alignment constraint.ValueLayout
ValueLayout. withName(String name)
Creates a new layout which features the desired layout name.ValueLayout
ValueLayout. withOrder(ByteOrder order)
Returns a new value layout with given byte order.Methods in jdk.incubator.foreign that return types with arguments of type ValueLayout Modifier and Type Method Description Optional<DynamicConstantDesc<ValueLayout>>
ValueLayout. describeConstable()