Uses of Class jdk.incubator.foreign.ValueLayout (Java SE 14 & JDK 14)
Description: use: module: jdk.incubator.foreign, package: jdk.incubator.foreign, class: ValueLayout

# Uses of Class
jdk.incubator.foreign.ValueLayout

Packages that use 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 to `ByteOrder.BIG_ENDIAN`.
  `static ValueLayout` | MemoryLayouts.`BITS_16_LE` | A value layout constant with size of two bytes, and byte order set to `ByteOrder.LITTLE_ENDIAN`.
  `static ValueLayout` | MemoryLayouts.`BITS_32_BE` | A value layout constant with size of four bytes, and byte order set to `ByteOrder.BIG_ENDIAN`.
  `static ValueLayout` | MemoryLayouts.`BITS_32_LE` | A value layout constant with size of four bytes, and byte order set to `ByteOrder.LITTLE_ENDIAN`.
  `static ValueLayout` | MemoryLayouts.`BITS_64_BE` | A value layout constant with size of eight bytes, and byte order set to `ByteOrder.BIG_ENDIAN`.
  `static ValueLayout` | MemoryLayouts.`BITS_64_LE` | A value layout constant with size of eight bytes, and byte order set to `ByteOrder.LITTLE_ENDIAN`.
  `static ValueLayout` | MemoryLayouts.`BITS_8_BE` | A value layout constant with size of one byte, and byte order set to `ByteOrder.BIG_ENDIAN`.
  `static ValueLayout` | MemoryLayouts.`BITS_8_LE` | A value layout constant with size of one byte, and byte order set to `ByteOrder.LITTLE_ENDIAN`.
  `static ValueLayout` | MemoryLayouts.`JAVA_BYTE` | A value layout constant whose size is the same as that of a Java `byte`, and byte order set to `ByteOrder.nativeOrder()`.
  `static ValueLayout` | MemoryLayouts.`JAVA_CHAR` | A value layout constant whose size is the same as that of a Java `char`, and byte order set to `ByteOrder.nativeOrder()`.
  `static ValueLayout` | MemoryLayouts.`JAVA_DOUBLE` | A value layout constant whose size is the same as that of a Java `double`, and byte order set to `ByteOrder.nativeOrder()`.
  `static ValueLayout` | MemoryLayouts.`JAVA_FLOAT` | A value layout constant whose size is the same as that of a Java `float`, and byte order set to `ByteOrder.nativeOrder()`.
  `static ValueLayout` | MemoryLayouts.`JAVA_INT` | A value layout constant whose size is the same as that of a Java `int`, and byte order set to `ByteOrder.nativeOrder()`.
  `static ValueLayout` | MemoryLayouts.`JAVA_LONG` | A value layout constant whose size is the same as that of a Java `long`, and byte order set to `ByteOrder.nativeOrder()`.
  `static ValueLayout` | MemoryLayouts.`JAVA_SHORT` | A value layout constant whose size is the same as that of a Java `short`, and byte order set to `ByteOrder.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()` |