Documentation

Unity Engine


Unity Engine


BlobString

An immutable, variable-length string stored in a blob asset.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Struct
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public struct BlobString

Remarks

Additional Resources: BlobBuilder

Properties

Property

Description

LengthThe length of the string in UTF-8 bytes.

Methods

Method

Description

AsSpanReturns a ReadOnlySpan_1 view of the UTF-8 encoded string data, excluding the null terminator.
CopyToCopies the characters from a BlobString to a native container
ToStringConverts this BlobString to a standard C# string.