RadixCodecDecodeT(String) Method

Converts a radix value to an integer value.

Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.178 -- Release Build+637be28bb791acbdd84bb7f11d11beacd0a820c2
public T Decode<T>(
	string radixValue
)

Parameters

radixValue  String
Radix value to convert.

Type Parameters

T
Integer type to convert

Return Value

T
Decoded integer value.

Exceptions

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