Class SpanExtensions
- Namespace
- Elegy.Common.Extensions
- Assembly
- Elegy.Common.dll
Elegy-specific Span<T> extensions.
public static class SpanExtensions
- Inheritance
-
SpanExtensions
- Inherited Members
Methods
GetRef<T>(Span<T>)
A shortcut to GetReference<T>(Span<T>).
public static ref T GetRef<T>(this Span<T> span)
Parameters
span
Span<T>
Returns
- T
Type Parameters
T