Table of Contents

Class TimeSpanSerializer

Namespace
MarymoorStudios.Core.Serialization.System
Assembly
MarymoorStudios.Core.Serialization.dll
public sealed class TimeSpanSerializer : Serializer<TimeSpan>
Inheritance
TimeSpanSerializer
Inherited Members

Constructors

TimeSpanSerializer()

public TimeSpanSerializer()

Properties

TypeId

public static TypeId TypeId { get; }

Property Value

TypeId

Methods

GetTypeId()

public override TypeId GetTypeId()

Returns

TypeId

SizeOf(SerializationContext, in TimeSpan)

public override int SizeOf(SerializationContext context, in TimeSpan value)

Parameters

context SerializationContext
value TimeSpan

Returns

int

TryRead(SerializationContext, ref ReadOnlyRowBuffer, out TimeSpan)

public override bool TryRead(SerializationContext context, ref ReadOnlyRowBuffer buffer, out TimeSpan value)

Parameters

context SerializationContext
buffer ReadOnlyRowBuffer
value TimeSpan

Returns

bool

Write(SerializationContext, ref RowBuffer, in TimeSpan)

public override void Write(SerializationContext context, ref RowBuffer buffer, in TimeSpan value)

Parameters

context SerializationContext
buffer RowBuffer
value TimeSpan