Ext..::..ToHostOrder Method
Converts the order of the specified array of Byte to the host byte order.
Namespace:
WebSocketSharpAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public: static array<unsigned char^>^ ToHostOrder( array<unsigned char^>^ source, ByteOrder^ sourceOrder )
Parameters
- sourceOrder
- Type: WebSocketSharp..::..ByteOrder
One of the ByteOrder enum values, specifies the byte order of source.
Return Value
An array of Byte converted from source.Exceptions
Exception | Condition |
---|---|
ArgumentNullException | source is nullNothingnullptra null reference (Nothing in Visual Basic). |