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

Method WriteData

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

Source from the content-addressed store, hash-verified

81 public override int DefaultValue => 0;
82
83 public override void WriteData(WriteContext context, in int value, bool hasGenerics)
84 {
85 _ = hasGenerics;
86 context.Writer.WriteVarInt32(value);
87 }
88
89 public override int ReadData(ReadContext context)
90 {

Callers

nothing calls this directly

Calls 1

WriteVarInt32Method · 0.80

Tested by

no test coverage detected