Uses of Interface
java.lang.foreign.StructLayout
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of StructLayout in java.lang.foreign
Modifier and TypeMethodDescriptionstatic StructLayout
Linker.Option.captureStateLayout()
Returns a struct layout that represents the layout of the capture state segment that is passed to a downcall handle linked withLinker.Option.captureCallState(String...)
.static StructLayout
MemoryLayout.structLayout
(MemoryLayout... elements) Creates a struct layout with the given member layouts.StructLayout.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.StructLayout.withoutName()
Returns a memory layout with the same characteristics as this layout, but with no name.