Documentation

Unity Engine


Unity Engine


AsSpan()

Returns a ReadOnlySpan_1 view of the UTF-8 encoded string data, excluding the null terminator.
Read time 1 minuteLast updated 3 days ago

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.