Click or drag to resize

INetSerializable Interface

Interface for implementing custom data serialization for network transmission.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public interface INetSerializable

The INetSerializable type exposes the following members.

Methods
 NameDescription
Public methodDeserialize Reads the object data from the provided NetDataReader.
Public methodSerialize Writes the object data into the provided NetDataWriter.
Top
Remarks
This is the most efficient way to send complex objects as it avoids reflection.
See Also