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

Method mergeBitStream

text-to-qr/lib/phpqrcode/phpqrcode.php:1693–1709  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1691
1692 //----------------------------------------------------------------------
1693 public function mergeBitStream()
1694 {
1695 if($this->convertData() < 0) {
1696 return null;
1697 }
1698
1699 $bstream = new QRbitstream();
1700
1701 foreach($this->items as $item) {
1702 $ret = $bstream->append($item->bstream);
1703 if($ret < 0) {
1704 return null;
1705 }
1706 }
1707
1708 return $bstream;
1709 }
1710
1711 //----------------------------------------------------------------------
1712 public function getBitStream()

Callers 1

getBitStreamMethod · 0.95

Calls 2

convertDataMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected