TextStudioReadOnlyBuffer<T>
public readonly struct TextStudioReadOnlyBuffer<T>Zero-allocation read-only view over a bounded portion of an engine-owned array. The view is valid only for the duration documented by the API that supplied it.
Methods
Section titled “Methods”
GetEnumerator()
Section titled “GetEnumerator()”public TextStudioReadOnlyBuffer<T>.Enumerator GetEnumerator()Creates a zero-allocation enumerator bounded to the published count.
Returns
TextStudio.TextStudioReadOnlyBuffer`1.Enumerator
Properties
Section titled “Properties”
IsCreated
Section titled “IsCreated”public bool IsCreated { get; }Returns
System.Boolean
public int Count { get; }Returns
System.Int32
Length
Section titled “Length”public int Length { get; }Returns
System.Int32
this[int]
Section titled “this[int]”public T this[int index] { get; }Parameters
| Name | Type |
|---|---|
index |
System.Int32 |
Returns
{T}