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

Method ReadBinary

csharp/src/Fory/TypeResolver.cs:1291–1295  ·  view source on GitHub ↗
(ReadContext context)

Source from the content-addressed store, hash-verified

1289 }
1290
1291 private static byte[] ReadBinary(ReadContext context)
1292 {
1293 uint length = context.Reader.ReadVarUInt32();
1294 return context.Reader.ReadBytes(checked((int)length));
1295 }
1296
1297 private static bool[] ReadBoolArray(ReadContext context)
1298 {

Callers

nothing calls this directly

Calls 2

ReadVarUInt32Method · 0.80
ReadBytesMethod · 0.45

Tested by

no test coverage detected