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

Method getBitStream

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

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

()

Source from the content-addressed store, hash-verified

1710
1711 //----------------------------------------------------------------------
1712 public function getBitStream()
1713 {
1714
1715 $bstream = $this->mergeBitStream();
1716
1717 if($bstream == null) {
1718 return null;
1719 }
1720
1721 $ret = $this->appendPaddingBit($bstream);
1722 if($ret < 0) {
1723 return null;
1724 }
1725
1726 return $bstream;
1727 }
1728
1729 //----------------------------------------------------------------------
1730 public function getByteStream()

Callers 1

getByteStreamMethod · 0.95

Calls 2

mergeBitStreamMethod · 0.95
appendPaddingBitMethod · 0.95

Tested by

no test coverage detected