Méthode | Description | |
---|---|---|
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 |
Résultat | byte[] |
public static Recieve ( |
||
stream | Stream to receive the message from | |
Résultat | object |
public static Send ( |
||
stream | Stream to send the message over | |
obj | object | Object to send |
Résultat | void |
public static Test ( |
||
stream | Stream to test | |
Résultat | bool |
public static TestMsg ( |
||
stream | ||
Résultat | void |
public static Unpack ( byte data ) : object | ||
data | byte | |
Résultat | object |