文档

Unity Engine

Unity Engine

AsSpan()

Returns a ReadOnlySpan_1 view of the UTF-8 encoded string data, excluding the null terminator.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public ReadOnlySpan<byte> AsSpan()

Returns

Type

Description

ReadOnlySpan<byte>A read-only span over the UTF-8 bytes.