Click or drag to resize

RadixCodecDecodeT(String) Method

Converts a radix value to an integer value.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
Syntax
public T Decode<T>(
	string radixValue
)
where T : struct, new(), Object
View Source

Parameters

radixValue  String
Radix value to convert.

Type Parameters

T
Integer type to convert

Return Value

T
Decoded integer value.
Exceptions
ExceptionCondition
ArgumentNullExceptionRadix value is null.
ArgumentExceptionInvalid radix value character.
OverflowExceptionDecoded radix value overflowed integer type.
ArgumentOutOfRangeExceptionOnly integer types Int16, UInt16, Int24, UInt24, Int32, UInt32, Int64 and UInt64 are supported.
See Also