Edytuj

Udostępnij za pośrednictwem


IdSpanCodec Class

Definition

Functionality for serializing and deserializing IdSpan instances.

[Orleans.RegisterSerializer]
public sealed class IdSpanCodec : Orleans.Serialization.Codecs.IFieldCodec<Orleans.Runtime.IdSpan>
[<Orleans.RegisterSerializer>]
type IdSpanCodec = class
    interface IFieldCodec<IdSpan>
    interface IFieldCodec
Public NotInheritable Class IdSpanCodec
Implements IFieldCodec(Of IdSpan)
Inheritance
IdSpanCodec
Attributes
Implements

Constructors

IdSpanCodec()

Methods

ReadRaw<TInput>(Reader<TInput>)

Reads an IdSpan value from a reader without any field framing.

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

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, IdSpan)

Writes a field.

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

Writes an IdSpan value to the provided writer without field framing.

Applies to