This interface has two functions to read and write the contents of the implementing class to the stream. They use the current position of the provided stream, which is incremented as they read/write their data.
Public Member Functions | |
int | ReadFromStream (System.IO.BinaryReader readStream) |
Implementation of IStreamable. Should read the data contained in the provided BinaryReader into the instance that implements this interface. | |
void | SendToStream (System.IO.BinaryWriter writeStream) |
Implementation of IStreamable. Should write the data contained in the instance that implements this interface, into the provided BinaryWriter. | |