Method NetworkSerialize
NetworkSerialize<TReaderWriterType>(BufferSerializer<TReaderWriterType>)
Provides bi-directional serialization to read and write the desired data to serialize this type.
Declaration
public void NetworkSerialize<TReaderWriterType>(BufferSerializer<TReaderWriterType> serializer) where TReaderWriterType : IReaderWriter
Parameters
Type | Name | Description |
---|---|---|
BufferSerializer<TReaderWriterType> | serializer | The serializer to use to read and write the data. |
Type Parameters
Name | Description |
---|---|
TReaderWriterType |