ode>elementCount</code> using <code>allocator</code>.
 The returned segment has size <code>elementCount * layout().byteSize()</code>.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="reinterpret(java.lang.foreign.MemorySegment,java.lang.foreign.Arena,java.util.function.Consumer)">
<h3>reinterpret</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/22/docs/a