Writes the object data to the stream. Object has to be allocated. The serializable object.
(INetworkSerializable obj)
| 447 | /// </summary> |
| 448 | /// <param name="obj">The serializable object.</param> |
| 449 | public void Write(INetworkSerializable obj) |
| 450 | { |
| 451 | obj.Serialize(this); |
| 452 | } |
| 453 | |
| 454 | /// <summary> |
| 455 | /// Reads the <see cref="INetworkSerializable"/> object data from the stream. Object has to be allocated. |