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

Method readInt32List

web/lite/src/codec/utils/byte-array.ts:262–269  ·  view source on GitHub ↗
(count: number)

Source from the content-addressed store, hash-verified

260 }
261
262 public readInt32List(count: number): number[] {
263 const numBits = this.readNumBits();
264 const value = new Array(count);
265 for (let i = 0; i < count; i++) {
266 value[i] = this.readBits(numBits);
267 }
268 return value;
269 }
270
271 public readUint32List(count: number): number[] {
272 const numBits = this.readNumBits();

Callers

nothing calls this directly

Calls 2

readNumBitsMethod · 0.95
readBitsMethod · 0.95

Tested by

no test coverage detected