Class ChartDataBus
Namespace: VelloSharp.ChartData
Assembly: VelloSharp.ChartData.dll
Lock-free buffering of streaming chart data segments.
public sealed class ChartDataBus
Inheritance
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
Methods
TryRead(out ChartDataSlice)
public bool TryRead(out ChartDataSlice slice)
Parameters
slice ChartDataSlice
Returns
Write<T>(ReadOnlySpan<T>)
public void Write<T>(ReadOnlySpan<T> source) where T : unmanaged
Parameters
source ReadOnlySpan<T>
Type Parameters
T