Class ConvertibleConverterExtensions
This is an extension implementation of the ConvertibleConverter class.
Inheritance
System.Object
ConvertibleConverterExtensions
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public static class ConvertibleConverterExtensions
Methods
| Improve this DocToConvertible<T>(Byte[])
Returns an System.IConvertible primitive converted from the specified array value of bytes.
Declaration
public static T ToConvertible<T>(this byte[] value)
where T : struct, IConvertible
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | value | The value to convert into an System.IConvertible. |
Returns
| Type | Description |
|---|---|
| T | An System.IConvertible primitive formed by n-bytes beginning at 0. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the expected return |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
| TypeArgumentException |
|