----------------------------------------------------------------------
()
| 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() |
no test coverage detected