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

返回

ReadOnlySpan<T> Read-only Span.

描述

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