Uses of Class
java.lang.foreign.GroupLayout
Packages that use GroupLayoutPREVIEW
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of GroupLayoutPREVIEW in java.lang.foreign
Methods in java.lang.foreign that return GroupLayoutPREVIEWModifier and TypeMethodDescriptionstatic GroupLayoutPREVIEW
MemoryLayout.structLayout
(MemoryLayoutPREVIEW... elements) Creates a struct layout with the given member layouts.static GroupLayoutPREVIEW
MemoryLayout.unionLayout
(MemoryLayoutPREVIEW... elements) Creates a union layout with the given member layouts.GroupLayout.withBitAlignment
(long alignmentBits) Returns a memory layout with the same size and name as this layout, but with the specified alignment constraints (in bits).Returns a memory layout with the same size and alignment constraints as this layout, but with the specified name.Methods in java.lang.foreign with parameters of type GroupLayoutPREVIEWModifier and TypeMethodDescriptionVaList.Builder.addVarg
(GroupLayoutPREVIEW layout, MemorySegmentPREVIEW value) Writes aMemorySegment
value, with the given layout, to the variable argument list being constructed.VaList.nextVarg
(GroupLayoutPREVIEW layout, SegmentAllocatorPREVIEW allocator) Reads the next value as aMemorySegment
, and advances this variable argument list's position.