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.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.Modifier 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.