Skip to content

TextStudioReadOnlyBuffer<T>

StructTextStudioTextStudio
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.

public TextStudioReadOnlyBuffer<T>.Enumerator GetEnumerator()

Creates a zero-allocation enumerator bounded to the published count.

Returns

TextStudio.TextStudioReadOnlyBuffer`1.Enumerator

public bool IsCreated { get; }

Returns

System.Boolean

public int Count { get; }

Returns

System.Int32

public int Length { get; }

Returns

System.Int32

public T this[int index] { get; }

Parameters

Name Type
index System.Int32

Returns

{T}