Edytuj

Udostępnij za pośrednictwem


FloatCodec Class

Definition

Serializer for Single.

[Orleans.RegisterSerializer]
public sealed class FloatCodec : Orleans.Serialization.Codecs.IFieldCodec<float>
[<Orleans.RegisterSerializer>]
type FloatCodec = class
    interface IFieldCodec<single>
    interface IFieldCodec
Public NotInheritable Class FloatCodec
Implements IFieldCodec(Of Single)
Inheritance
FloatCodec
Attributes
Implements

Constructors

FloatCodec()

Methods

ReadFloatRaw<TInput>(Reader<TInput>)

Reads a value without any protocol framing.

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

Reads a value.

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

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

Explicit Interface Implementations

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

Reads a value.

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

Writes a field.

Applies to