TNet 3  3.0.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
TNet.IBinarySerializable Interface Reference

If custom or simply more efficient serialization is desired, derive your class from IBinarySerializable. Ideal use case would be to reduce the amount of data sent over the network via RFCs. More...

Inheritance diagram for TNet.IBinarySerializable:
TNet.Counter

Public Member Functions

void Serialize (BinaryWriter writer)
 Serialize the object's data into binary format. More...
 
void Deserialize (BinaryReader reader)
 Deserialize the object's data from binary format. More...
 

Detailed Description

If custom or simply more efficient serialization is desired, derive your class from IBinarySerializable. Ideal use case would be to reduce the amount of data sent over the network via RFCs.

Member Function Documentation

void TNet.IBinarySerializable.Deserialize ( BinaryReader  reader)

Deserialize the object's data from binary format.

Implemented in TNet.Counter.

void TNet.IBinarySerializable.Serialize ( BinaryWriter  writer)

Serialize the object's data into binary format.

Implemented in TNet.Counter.


The documentation for this interface was generated from the following file: