Метод | Описание | |
---|---|---|
Pack ( object obj ) : byte[] |
Packs an object into a big-endian byte array
|
|
Recieve ( |
Receieves a single object over the specified stream
|
|
Send ( |
Sends a single object over the specified stream
|
|
Test ( |
Tests a connection to see if it is valid
|
|
TestMsg ( |
Sends a blank message with length header of zero.
|
|
Unpack ( byte data ) : object |
Unpacks a big-endian byte array into an object
|
public static Pack ( object obj ) : byte[] | ||
obj | object | Object to pack |
Результат | byte[] |
public static Recieve ( |
||
stream | Stream to receive the message from | |
Результат | object |
public static Send ( |
||
stream | Stream to send the message over | |
obj | object | Object to send |
Результат | void |
public static Test ( |
||
stream | Stream to test | |
Результат | bool |
public static TestMsg ( |
||
stream | ||
Результат | void |
public static Unpack ( byte data ) : object | ||
data | byte | |
Результат | object |