MessageUnserialize Method (Byte, Int32, Int32, Boolean) |
Unserialized the supplied byte array into a new Message with optional
type code.
Namespace:
OBCOM.NetClient
Assembly:
OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax public static Message Unserialize(
byte[] bytes,
int offset,
int length,
bool withType
)
Public Shared Function Unserialize (
bytes As Byte(),
offset As Integer,
length As Integer,
withType As Boolean
) As Message
Parameters
- bytes
- Type: SystemByte
Array of bytes containing a serialized Message. - offset
- Type: SystemInt32
Initial offset of the bytes subarray. - length
- Type: SystemInt32
Length of the bytes subarray. - withType
- Type: SystemBoolean
If true the bytes include a Message type.
Return Value
Type:
Messagea new Message.
See Also