Uses of Interface
java.lang.foreign.UnionLayout
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of UnionLayout in java.lang.foreign
Modifier and TypeMethodDescriptionstatic UnionLayout
MemoryLayout.unionLayout
(MemoryLayout... elements) Creates a union layout with the given member layouts.UnionLayout.withByteAlignment
(long byteAlignment) Returns a memory layout with the same characteristics as this layout, but with the given alignment constraint (in bytes).Returns a memory layout with the same characteristics as this layout, but with the given name.UnionLayout.withoutName()
Returns a memory layout with the same characteristics as this layout, but with no name.