Uses of Class
jdk.incubator.foreign.GroupLayout
Package
Description
Classes to support low-level and efficient foreign memory/function access, directly from Java.
-
Uses of GroupLayout in jdk.incubator.foreign
Modifier and TypeMethodDescriptionstatic GroupLayout
MemoryLayout.ofStruct(MemoryLayout... elements)
Create a new struct group layout with given member layouts.static GroupLayout
MemoryLayout.ofUnion(MemoryLayout... elements)
Create a new union group layout with given member layouts.GroupLayout.withAttribute(String name, Constable value)
Returns a new memory layout which features the same attributes as this layout, plus the newly specified attribute.GroupLayout.withBitAlignment(long alignmentBits)
Creates a new layout which features the desired alignment constraint.Creates a new layout which features the desired layout name.Modifier and TypeMethodDescriptionCLinker.VaList.Builder.vargFromSegment(GroupLayout layout, MemorySegment value)
Adds a native value represented as aMemorySegment
to the Cva_list
being constructed.