Class ConvertibleConverter
This utility class is designed to make System.IConvertible related conversions easier to work with.
Inheritance
System.Object
ConvertibleConverter
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public static class ConvertibleConverter
Methods
| Improve this DocFromBytes<T>(Byte[])
Returns an System.IConvertible primitive converted from the specified array value of bytes.
Declaration
public static T FromBytes<T>(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 |
|