.lang.foreign" class="external-link">MemorySegment</a></span>&nbsp;<span class="element-name">allocate</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/foreign/SegmentAllocator.html" title="class or interface in java.lang.foreign" class="external-link">SegmentAllocator</a>&nbsp;allocator)</span></div>
<div class="block">Allocate a segment of size <code>layout().byteSize()</code> using <code>allocator</code></div>
</div>
</section>
</li>
<li