Edit

Share via


IPAddressCodec Class

Definition

Serializer for IPAddress.

[Orleans.RegisterSerializer]
public sealed class IPAddressCodec : Orleans.Serialization.Codecs.IDerivedTypeCodec, Orleans.Serialization.Codecs.IFieldCodec<System.Net.IPAddress>
[<Orleans.RegisterSerializer>]
type IPAddressCodec = class
    interface IFieldCodec<IPAddress>
    interface IFieldCodec
    interface IDerivedTypeCodec
Public NotInheritable Class IPAddressCodec
Implements IDerivedTypeCodec, IFieldCodec(Of IPAddress)
Inheritance
IPAddressCodec
Attributes
Implements

Constructors

IPAddressCodec()

Methods

ReadRaw<TInput>(Reader<TInput>)

Reads the raw length prefixed IP address value.

ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, IPAddress)

Writes a field without type info (expected type is statically known).

WriteRaw<TBufferWriter>(Writer<TBufferWriter>, IPAddress)

Writes the raw length prefixed IP address value.

Explicit Interface Implementations

IFieldCodec<IPAddress>.ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

IFieldCodec<IPAddress>.WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, IPAddress)

Writes a field.

Applies to