Edit

Share via


Int16Codec Class

Definition

Serializer for Int16.

[Orleans.RegisterSerializer]
public sealed class Int16Codec : Orleans.Serialization.Codecs.IFieldCodec<short>
[<Orleans.RegisterSerializer>]
type Int16Codec = class
    interface IFieldCodec<int16>
    interface IFieldCodec
Public NotInheritable Class Int16Codec
Implements IFieldCodec(Of Short)
Inheritance
Int16Codec
Attributes
Implements

Constructors

Int16Codec()

Methods

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

Reads a value.

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

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

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

Writes a field.

Explicit Interface Implementations

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

Reads a value.

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

Writes a field.

Applies to