Version: Unity 7.0 Alpha (7000.0)
LanguageEnglish
  • C#

BlobString

struct in Unity.Entities

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

An immutable, variable-length string stored in a blob asset.

Additional resources: BlobBuilder

Properties

Property Description
Length The length of the string in UTF-8 bytes.

Public Methods

Method Description
AsSpan Returns a ReadOnlySpan_1 view of the UTF-8 encoded string data, excluding the null terminator.
CopyTo Copies the characters from a BlobString to a native container
ToString Converts this BlobString to a standard C# string.