Table of Contents

Class RingBuffer<T>

Namespace
Zorro.Core
Assembly
Zorro.Core.Runtime.dll
public class RingBuffer<T>

Type Parameters

T
Inheritance
RingBuffer<T>
Inherited Members
Extension Methods

Constructors

RingBuffer(int)

public RingBuffer(int capacity)

Parameters

capacity int

Properties

Capacity

public int Capacity { get; }

Property Value

int

Count

public int Count { get; }

Property Value

int

this[long]

public T this[long index] { get; set; }

Parameters

index long

Property Value

T

Methods

Dequeue()

public T Dequeue()

Returns

T

Enqueue(T)

public void Enqueue(T item)

Parameters

item T

TryDequeue(out T)

public bool TryDequeue(out T obj)

Parameters

obj T

Returns

bool