Function UnsafeSpan.Free

Free (Allocator allocator)

Frees the underlaying memory.

Public
unsafe void Free (

Allocator

allocator

)

Frees the underlaying memory.

Warning

The span must have been allocated using the specified allocator.

You must never use this span (or any other span referencing the same memory) again after calling this method.