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

Method toString

src/core/common/BitArray.ts:373–382  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

371
372 /*@Override*/
373 public toString(): string {
374 let result = '';
375 for (let i = 0, size = this.size; i < size; i++) {
376 if ((i & 0x07) === 0) {
377 result += ' ';
378 }
379 result += this.get(i) ? 'X' : '.';
380 }
381 return result;
382 }
383
384 /*@Override*/
385 public clone(): BitArray {

Callers 8

checkBinaryMethod · 0.95
checkMethod · 0.95
checkWithoutSpacesMethod · 0.95
checkBinaryMethod · 0.95
guessEncodingMethod · 0.45
callbackMethod · 0.45

Calls 1

getMethod · 0.95

Tested by 6

checkBinaryMethod · 0.76
checkMethod · 0.76
checkWithoutSpacesMethod · 0.76
checkBinaryMethod · 0.76