Class MessagePackAddressFormatter
- Namespace
- Fluxzy.Archiving.MessagePack
- Assembly
- Fluxzy.Core.dll
public class MessagePackAddressFormatter : IMessagePackFormatter<IPAddress>
- Inheritance
-
MessagePackAddressFormatter
- Implements
-
IMessagePackFormatter<IPAddress>
- Inherited Members
Methods
Deserialize(ref MessagePackReader, MessagePackSerializerOptions)
Deserializes a value.
public IPAddress Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options)
Parameters
reader
MessagePackReaderThe reader to deserialize from.
options
MessagePackSerializerOptionsThe serialization settings to use, including the resolver to use to obtain formatters for types that make up the composite type IPAddress.
Returns
- IPAddress
The deserialized value.
Serialize(ref MessagePackWriter, IPAddress, MessagePackSerializerOptions)
Serializes a value.
public void Serialize(ref MessagePackWriter writer, IPAddress value, MessagePackSerializerOptions options)