BitConverterNGetBytesTNumeric Method

Returns the specified numeric value as an array of bytes.

Definition

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

Parameters

value  TNumeric
The number to convert.

Type Parameters

TNumeric

Return Value

Byte
An array of bytes with length determined by ConvertedSize.

See Also