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

Method WriteData

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

Source from the content-addressed store, hash-verified

115 public override byte DefaultValue => 0;
116
117 public override void WriteData(WriteContext context, in byte value, bool hasGenerics)
118 {
119 _ = hasGenerics;
120 context.Writer.WriteUInt8(value);
121 }
122
123 public override byte ReadData(ReadContext context)
124 {

Callers

nothing calls this directly

Calls 1

WriteUInt8Method · 0.80

Tested by

no test coverage detected