Skip to main content

Class ChartDataBus

Namespace: VelloSharp.ChartData
Assembly: VelloSharp.ChartData.dll

Lock-free buffering of streaming chart data segments.

public sealed class ChartDataBus

Inheritance​

object ← ChartDataBus

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

ChartDataBus(int)​

public ChartDataBus(int capacity)

Parameters​

capacity int

Properties​

Count​

public int Count { get; }

Property Value​

int

Methods​

TryRead(out ChartDataSlice)​

public bool TryRead(out ChartDataSlice slice)

Parameters​

slice ChartDataSlice

Returns​

bool

Write<T>(ReadOnlySpan<T>)​

public void Write<T>(ReadOnlySpan<T> source) where T : unmanaged

Parameters​

source ReadOnlySpan<T>

Type Parameters​

T