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

Method readEncodeInt32

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

Source from the content-addressed store, hash-verified

189 }
190
191 public readEncodeInt32(): number {
192 const data = this.readEncodedUint32();
193 const value = data >> 1;
194 return (data & 1) > 0 ? -value : value;
195 }
196
197 public readEncodedUint64(): number {
198 const valueMask = 127;

Callers 4

readRatioFunction · 0.80
readVideoSequenceFunction · 0.80
readSolidColorFunction · 0.80

Calls 1

readEncodedUint32Method · 0.95

Tested by

no test coverage detected