Method | Description | |
---|---|---|
Deserialize ( Stream stream, int size ) : int |
Deserialize fields in this class from a stream.
|
|
Serialize ( Stream stream ) : int |
Serialize fields to a stream.
|
public Deserialize ( Stream stream, int size ) : int | ||
stream | Stream | Stream contains a serialized instance of this class. |
size | int | The number of bytes can read if -1, no limitation. MUST be -1. |
return | int |
public Serialize ( Stream stream ) : int | ||
stream | Stream | The stream where serialized instance will be wrote. |
return | int |