Uses of Class
Classes to support low-level, safe and efficient memory access.
Uses of SequenceLayout in jdk.incubator.foreign
Methods in jdk.incubator.foreign that return SequenceLayout Modifier and Type Method Description
ofSequence(long elementCount, MemoryLayout elementLayout)Create a new sequence layout with given element layout and element count.
ofSequence(MemoryLayout elementLayout)Create a new sequence layout, with unbounded element count and given element layout.
withBitAlignment(long alignmentBits)Creates a new layout which features the desired alignment constraint.
withElementCount(long elementCount)Obtains a new sequence layout with same element layout, alignment constraints and name as this sequence layout but with the new specified element count.
withName(String name)Creates a new layout which features the desired layout name.