MCPcopy Index your code
hub / github.com/zxing-js/library / makeArray

Method makeArray

src/core/common/BitArray.ts:354–356  ·  view source on GitHub ↗
(size: number /*int*/)

Source from the content-addressed store, hash-verified

352 }
353
354 private static makeArray(size: number /*int*/): Int32Array {
355 return new Int32Array(Math.floor((size + 31) / 32));
356 }
357
358 /*@Override*/
359 public equals(o: any): boolean {

Callers 2

constructorMethod · 0.80
ensureCapacityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected