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

Method readVarUint32Small7

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

Source from the content-addressed store, hash-verified

348 }
349
350 readVarUint32Small7(): number {
351 const readIdx = this.cursor;
352 if (this.byteLength - readIdx > 0) {
353 const v = this.dataView.getUint8(readIdx);
354 if ((v & 0x80) === 0) {
355 this.cursor = readIdx + 1;
356 return v;
357 }
358 }
359 return this.readVarUint32Small14();
360 }
361
362 private readVarUint32Small14(): number {
363 const readIdx = this.cursor;

Callers 3

readFieldInfoMethod · 0.45
readTypeIdMethod · 0.45
readNameMethod · 0.45

Calls 1

readVarUint32Small14Method · 0.95

Tested by

no test coverage detected