Edit

Share via


Int32Codec Class

Definition

Serializer for Int32.

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

Constructors

Int32Codec()

Methods

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

Reads a value.

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

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

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

Writes a field.

Explicit Interface Implementations

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

Reads a value.

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

Writes a field.

Applies to