BitConverterNToNumericTNumeric(ReadOnlySpanByte) Method

Converts a numeric value into a span of bytes.

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static TNumeric ToNumeric<TNumeric>(
	ReadOnlySpan<byte> value
)
where TNumeric : struct, new(), INumeric<TNumeric>

Parameters

value  ReadOnlySpanByte
The numeric value to convert.

Type Parameters

TNumeric

Return Value

TNumeric
if the conversion was successful; otherwise.

See Also