Skip to main content

Struct ChartDataSlice

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

Represents a pooled data slice stored in the bus.

public readonly struct ChartDataSlice : IDisposable

Implements

IDisposable

Inherited Members

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

Properties

ElementType

public Type ElementType { get; }

Property Value

Type

ItemCount

public int ItemCount { get; }

Property Value

int

ItemSize

public int ItemSize { get; }

Property Value

int

Methods

AsBytes()

public ReadOnlySpan<byte> AsBytes()

Returns

ReadOnlySpan<byte>

AsSpan<T>()

public ReadOnlySpan<T> AsSpan<T>() where T : unmanaged

Returns

ReadOnlySpan<T>

Type Parameters

T

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()