Class ChannelIdFormatter
- Namespace
- NLightning.Transport.Ipc.MessagePack.Formatters
- Assembly
- NLightning.Transport.Ipc.dll
public class ChannelIdFormatter : IMessagePackFormatter<ChannelId>
- Inheritance
-
ChannelIdFormatter
- Implements
-
IMessagePackFormatter<ChannelId>
- Inherited Members
Methods
Deserialize(ref MessagePackReader, MessagePackSerializerOptions)
Deserializes a value.
public ChannelId Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options)
Parameters
readerMessagePackReaderThe reader to deserialize from.
optionsMessagePackSerializerOptionsThe serialization settings to use, including the resolver to use to obtain formatters for types that make up the composite type ChannelId.
Returns
- ChannelId
The deserialized value.
Serialize(ref MessagePackWriter, ChannelId, MessagePackSerializerOptions)
Serializes a value.
public void Serialize(ref MessagePackWriter writer, ChannelId value, MessagePackSerializerOptions options)