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

Method readVarInt32

javascript/packages/core/lib/reader/index.ts:465–468  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

463 }
464
465 readVarInt32() {
466 const v = this.readVarUInt32();
467 return (v >>> 1) ^ -(v & 1); // zigZag decode
468 }
469
470 bigUInt8() {
471 return BigInt(this.readUint8() >>> 0);

Callers 1

readDecimalFunction · 0.45

Calls 1

readVarUInt32Method · 0.95

Tested by

no test coverage detected