MCPcopy Create free account
hub / github.com/apache/fory / WriteData

Method WriteData

csharp/src/Fory/TimeSerializers.cs:113–117  ·  view source on GitHub ↗
(WriteContext context, in DateTimeOffset value, bool hasGenerics)

Source from the content-addressed store, hash-verified

111 public override DateTimeOffset DefaultValue => DateTimeOffset.UnixEpoch;
112
113 public override void WriteData(WriteContext context, in DateTimeOffset value, bool hasGenerics)
114 {
115 _ = hasGenerics;
116 TimeCodec.WriteTimestamp(context, value);
117 }
118
119 public override DateTimeOffset ReadData(ReadContext context)
120 {

Callers

nothing calls this directly

Calls 1

WriteTimestampMethod · 0.80

Tested by

no test coverage detected