Version: 2023.2
public ReadOnlySpan<T> AsReadOnlySpan ();

返回

ReadOnlySpan<T> Read-only Span.

描述

Exposes NativeArray.ReadOnly data as a System.ReadOnlySpan<T>.