Click or drag to resize

NetDataWriterPutT(T) Method

Serializes an object implementing INetSerializable.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public void Put<T>(
	T obj
)
where T : INetSerializable

Parameters

obj  T
The object instance to serialize.

Type Parameters

T
A type that implements the INetSerializable interface.
Remarks
This method calls the Serialize(NetDataWriter) method on the provided obj.
See Also