RadixCodecDecode(Type, String) Method

Converts a radix value to an integer value.

Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.156 -- Release Build+82008765a27c9679d42964f049db865fa540531c
public Object Decode(
	Type type,
	string radixValue
)

Parameters

type  Type
Integer type to convert.
radixValue  String
Radix value to convert.

Return Value

Object
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