Uses of Interface
java.lang.foreign.MemoryLayout.PathElement
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of MemoryLayout.PathElementPREVIEW in java.lang.foreign
Modifier and TypeMethodDescriptionMemoryLayout.PathElement.groupElement
(String name) Returns a path element which selects a member layout with the given name in a group layout.MemoryLayout.PathElement.sequenceElement()
Returns a path element which selects an unspecified element layout in a sequence layout.MemoryLayout.PathElement.sequenceElement
(long index) Returns a path element which selects the element layout at the specified position in a sequence layout.MemoryLayout.PathElement.sequenceElement
(long start, long step) Returns a path element which selects the element layout in a range of positions in a sequence layout.Modifier and TypeMethodDescriptiondefault long
MemoryLayout.bitOffset
(MemoryLayout.PathElementPREVIEW... elements) Computes the offset, in bits, of the layout selected by the given layout path, where the path is considered rooted in this layout.default MethodHandle
MemoryLayout.bitOffsetHandle
(MemoryLayout.PathElementPREVIEW... elements) Creates a method handle that can be used to compute the offset, in bits, of the layout selected by the given layout path, where the path is considered rooted in this layout.default long
MemoryLayout.byteOffset
(MemoryLayout.PathElementPREVIEW... elements) Computes the offset, in bytes, of the layout selected by the given layout path, where the path is considered rooted in this layout.default MethodHandle
MemoryLayout.byteOffsetHandle
(MemoryLayout.PathElementPREVIEW... elements) Creates a method handle that can be used to compute the offset, in bytes, of the layout selected by the given layout path, where the path is considered rooted in this layout.default MemoryLayoutPREVIEW
MemoryLayout.select
(MemoryLayout.PathElementPREVIEW... elements) Selects the layout from a path rooted in this layout.default MethodHandle
MemoryLayout.sliceHandle
(MemoryLayout.PathElementPREVIEW... elements) default VarHandle
MemoryLayout.varHandle
(MemoryLayout.PathElementPREVIEW... elements) Creates a var handle that can be used to access a memory segment at the layout selected by the given layout path, where the path is considered rooted in this layout.