MCPcopy Create free account
hub / github.com/Tencent/libpag / readEncodeInt64

Method readEncodeInt64

web/lite/src/codec/utils/byte-array.ts:217–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215 }
216
217 public readEncodeInt64(): number {
218 const data = this.readEncodedUint64();
219 const value = data << 0;
220 return (data & 1) > 0 ? -value : value;
221 }
222
223 public readBytes(length?: number): ByteArray {
224 const len = length || this.length - this._position;

Callers

nothing calls this directly

Calls 1

readEncodedUint64Method · 0.95

Tested by

no test coverage detected