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.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 TypeMethodDescriptionVaList.Builder.addVarg
(GroupLayout layout, MemorySegment value) Writes aMemorySegment
value, with given layout, to the variable argument list being constructed.VaList.nextVarg
(GroupLayout layout, SegmentAllocator allocator) Reads the next value as aMemorySegment
, and advances this variable argument list's position.