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

Method finishVarUInt64

javascript/packages/core/lib/reader/index.ts:474–479  ·  view source on GitHub ↗
(rl28: number, rh28: number)

Source from the content-addressed store, hash-verified

472 }
473
474 private finishVarUInt64(rl28: number, rh28: number): number | bigint {
475 if (rh28 <= 0x1ffffff) {
476 return rl28 + rh28 * 0x10000000;
477 }
478 return (BigInt(rh28) << 28n) | BigInt(rl28);
479 }
480
481 private readVarUInt64SlowNumber() {
482 let byte = this.readUint8();

Callers 1

readVarUInt64ValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected