Edit

Share via


HalfCodec Class

Definition

Serializer for Half.

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

Constructors

HalfCodec()

Methods

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

Reads a value.

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

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

Explicit Interface Implementations

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

Reads a value.

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

Writes a field.

Applies to