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

Method ReadData

csharp/src/Fory/PrimitiveSerializers.cs:262–266  ·  view source on GitHub ↗
(ReadContext context)

Source from the content-addressed store, hash-verified

260 }
261
262 public override byte[] ReadData(ReadContext context)
263 {
264 uint length = context.Reader.ReadVarUInt32();
265 return context.Reader.ReadBytes(checked((int)length));
266 }
267}

Callers

nothing calls this directly

Calls 2

ReadVarUInt32Method · 0.80
ReadBytesMethod · 0.45

Tested by

no test coverage detected