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

Method mergeBitStream

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

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

()

Source from the content-addressed store, hash-verified

678
679 //----------------------------------------------------------------------
680 public function mergeBitStream()
681 {
682 if($this->convertData() < 0) {
683 return null;
684 }
685
686 $bstream = new QRbitstream();
687
688 foreach($this->items as $item) {
689 $ret = $bstream->append($item->bstream);
690 if($ret < 0) {
691 return null;
692 }
693 }
694
695 return $bstream;
696 }
697
698 //----------------------------------------------------------------------
699 public function getBitStream()

Callers 1

getBitStreamMethod · 0.95

Calls 2

convertDataMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected