Table of Contents

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 MessagePackReader

The reader to deserialize from.

options MessagePackSerializerOptions

The 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)

Parameters

writer MessagePackWriter

The writer to use when serializing the value.

value IPAddress

The value to be serialized.

options MessagePackSerializerOptions

The serialization settings to use, including the resolver to use to obtain formatters for types that make up the composite type IPAddress.