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

Method WriteData

csharp/src/Fory/PrimitiveSerializers.cs:134–138  ·  view source on GitHub ↗
(WriteContext context, in ushort value, bool hasGenerics)

Source from the content-addressed store, hash-verified

132 public override ushort DefaultValue => 0;
133
134 public override void WriteData(WriteContext context, in ushort value, bool hasGenerics)
135 {
136 _ = hasGenerics;
137 context.Writer.WriteUInt16(value);
138 }
139
140 public override ushort ReadData(ReadContext context)
141 {

Callers

nothing calls this directly

Calls 1

WriteUInt16Method · 0.80

Tested by

no test coverage detected