NullableSpanTMapStructFuncTResult Delegate

Encapsulates a method that maps a SpanT to a structure with the type TResult.

Definition

Namespace: Ookii.Common
Assembly: Ookii.Common (in Ookii.Common.dll) Version: 1.0.0+7c2900b8a16cd8ae46bdd79d8f105034712c5fa3
C#
public delegate TResult MapStructFunc<TResult>(
	Span<T> value
)
where TResult : struct, new()

Parameters

value  SpanT
The value to map.

Type Parameters

TResult
The type of the resulting value.

Return Value

TResult
The mapped value.

See Also