Uses of Interface java.lang.foreign.GroupLayout (Java SE 23 & JDK 23)
Description: use: module: java.base, package: java.lang.foreign, interface: GroupLayout

# Uses of Interface
java.lang.foreign.GroupLayout

Packages that use GroupLayout
Package
Description
java.lang.foreign
Provides low-level access to memory and functions outside the Java runtime.

- ## Uses of GroupLayout in java.lang.foreign

  Subinterfaces of GroupLayout in java.lang.foreign
  Modifier and Type
  Interface
  Description
  `interface`
  `StructLayout`
  A group layout whose member layouts are laid out one after the other.
  `interface`
  `UnionLayout`
  A group layout whose member layouts are laid out at the same starting offset.
  Methods in java.lang.foreign that return GroupLayout
  Modifier and Type
  Method
  Description
  `GroupLayout`
  GroupLayout.`withByteAlignment(long byteAlignment)`
  Returns a memory layout with the same characteristics as this layout, but with the given alignment constraint (in bytes).
  `GroupLayout`
  GroupLayout.`withName(String name)`
  Returns a memory layout with the same characteristics as this layout, but with the given name.
  `GroupLayout`
  GroupLayout.`withoutName()`
  Returns a memory layout with the same characteristics as this layout, but with no name.