Ext..::..To<(Of <(<'T>)>)> Method
Converts the specified array of Byte to the specified type data.
Namespace:
WebSocketSharpAssembly: C-DEngine (in C-DEngine.dll)
Syntax
Type Parameters
- T
- The type of the return. The T must be a value type.
Parameters
- sourceOrder
- Type: WebSocketSharp..::..ByteOrder
One of the ByteOrder enum values, specifies the byte order of source.
Return Value
A T converted from source, or a default value of T if source is an empty array of Byte or if the type of T isn't Boolean, Char, Double, Single, Int32, Int64, Int16, UInt32, UInt64, or UInt16.Exceptions
Exception | Condition |
---|---|
ArgumentNullException | source is nullNothingnullptra null reference (Nothing in Visual Basic). |