Edytuj

Udostępnij za pośrednictwem


StringCodec Class

Definition

Serializer for String.

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

Constructors

StringCodec()

Methods

ReadRaw<TInput>(Reader<TInput>, UInt32)

Reads the raw string content.

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

Reads a value.

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

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

WriteRaw<TBufferWriter>(Writer<TBufferWriter>, String, Int32)

Writes the raw string content.

Explicit Interface Implementations

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

Reads a value.

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

Writes a field.

Applies to