allocate

open fun allocate(allocator: SegmentAllocator): MemorySegment

Allocate a segment of size layout().byteSize() using allocator