Uses of Class
jdk.incubator.foreign.GroupLayout
Packages that use GroupLayout
Package
Description
Classes to support low-level and efficient foreign memory/function access, directly from Java.
-
Uses of GroupLayout in jdk.incubator.foreign
Methods in jdk.incubator.foreign that return GroupLayoutModifier and TypeMethodDescriptionstatic GroupLayout
MemoryLayout.structLayout
(MemoryLayout... elements) Create a new struct group layout with given member layouts.static GroupLayout
MemoryLayout.unionLayout
(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.Methods in jdk.incubator.foreign that return types with arguments of type GroupLayoutMethods in jdk.incubator.foreign with parameters of type GroupLayoutModifier and TypeMethodDescriptionCLinker.VaList.Builder.vargFromSegment
(GroupLayout layout, MemorySegment value) Adds a native value represented as aMemorySegment
to the Cva_list
being constructed.