Uses of Interface
java.lang.foreign.SequenceLayout
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of SequenceLayout in java.lang.foreign
Modifier and TypeMethodDescriptionSequenceLayout.flatten()
Returns a flattened sequence layout.SequenceLayout.reshape
(long... elementCounts) Rearranges the elements in this sequence layout into a multidimensional sequence layout.static SequenceLayout
MemoryLayout.sequenceLayout
(long elementCount, MemoryLayout elementLayout) Creates a sequence layout with the given element layout and element count.SequenceLayout.withByteAlignment
(long byteAlignment) Returns a memory layout with the same characteristics as this layout, but with the given alignment constraint (in bytes).SequenceLayout.withElementCount
(long elementCount) Returns a sequence layout with the same characteristics of this layout, but with the given element count.Returns a memory layout with the same characteristics as this layout, but with the given name.