Class FeatureSetFormatter
- Namespace
- NLightning.Transport.Ipc.MessagePack.Formatters
- Assembly
- NLightning.Transport.Ipc.dll
public class FeatureSetFormatter : IMessagePackFormatter<FeatureSet?>
- Inheritance
-
FeatureSetFormatter
- Implements
-
IMessagePackFormatter<FeatureSet>
- Inherited Members
Methods
Deserialize(ref MessagePackReader, MessagePackSerializerOptions)
Deserializes a value.
public FeatureSet? 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 FeatureSet.
Returns
- FeatureSet
The deserialized value.
Serialize(ref MessagePackWriter, FeatureSet?, MessagePackSerializerOptions)
Serializes a value.
public void Serialize(ref MessagePackWriter writer, FeatureSet? value, MessagePackSerializerOptions options)
Parameters
writerMessagePackWriterThe writer to use when serializing the value.
valueFeatureSetThe value to be serialized.
optionsMessagePackSerializerOptionsThe serialization settings to use, including the resolver to use to obtain formatters for types that make up the composite type FeatureSet.