Redigera

Dela via


DecimalCodec Class

Definition

Serializer for Decimal.

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

Constructors

DecimalCodec()

Methods

ReadDecimalRaw<TInput>(Reader<TInput>)

Reads a value without protocol framing.

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

Reads a value.

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

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

Explicit Interface Implementations

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

Reads a value.

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

Writes a field.

Applies to