MCPcopy Create free account
hub / github.com/codemistic/Web-Development / createBitStream

Method createBitStream

text-to-qr/lib/phpqrcode/qrinput.php:590–604  ·  view source on GitHub ↗

----------------------------------------------------------------------

()

Source from the content-addressed store, hash-verified

588
589 //----------------------------------------------------------------------
590 public function createBitStream()
591 {
592 $total = 0;
593
594 foreach($this->items as $item) {
595 $bits = $item->encodeBitStream($this->version);
596
597 if($bits < 0)
598 return -1;
599
600 $total += $bits;
601 }
602
603 return $total;
604 }
605
606 //----------------------------------------------------------------------
607 public function convertData()

Callers 1

convertDataMethod · 0.95

Calls 1

encodeBitStreamMethod · 0.45

Tested by

no test coverage detected