Click or drag to resize

RadixCodecDecode(Type, String) Method

Converts a radix value to an integer value.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
Syntax
public Object Decode(
	Type type,
	string radixValue
)
View Source

Parameters

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

Return Value

Object
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