Struct BlobStringText
Simple BlobString wrapper that can be embedded into components and allow to access the blob text as IUTF8Bytes and INativeList<T>. The text is considered readonly. All methods that change or affect the string will throw NotImplementedException.
Inherited Members
Namespace: Unity.NetCode.LowLevel
Assembly: solution.dll
Syntax
public struct BlobStringText : INativeList<byte>, IIndexable<byte>, IUTF8Bytes
Constructors
| Name | Description |
|---|---|
| BlobStringText(ref BlobString) | Construct the text from a BlobString reference. The string pointer is cached internally by this wrapper and if the original blob is detroyed, the memory content may point to something that it is not a string. |
Properties
| Name | Description |
|---|---|
| Capacity | |
| IsEmpty | |
| this[int] | |
| Length |
Methods
| Name | Description |
|---|---|
| Clear() | |
| ElementAt(int) | |
| GetUnsafePtr() | |
| TryResize(int, NativeArrayOptions) |