Table of Contents

Method Serialize

Namespace
NATS.Client.Serializers.Json
Assembly
NATS.Client.Serializers.Json.dll

Serialize(IBufferWriter<byte>, T?)

Serialize value to buffer.

public void Serialize(IBufferWriter<byte> bufferWriter, T? value)

Parameters

bufferWriter IBufferWriter<byte>

Buffer to write the serialized data.

value T

Object to be serialized.