Uses of Interface
java.lang.foreign.UnionLayout
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of UnionLayoutPREVIEW in java.lang.foreign
Modifier and TypeMethodDescriptionstatic UnionLayoutPREVIEW
MemoryLayout.unionLayout
(MemoryLayoutPREVIEW... 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.