----------------------------------------------------------------------
($bits, $num)
| 107 | |
| 108 | //---------------------------------------------------------------------- |
| 109 | public function appendNum($bits, $num) |
| 110 | { |
| 111 | if ($bits == 0) |
| 112 | return 0; |
| 113 | |
| 114 | $b = QRbitstream::newFromNum($bits, $num); |
| 115 | |
| 116 | if(is_null($b)) |
| 117 | return -1; |
| 118 | |
| 119 | $ret = $this->append($b); |
| 120 | unset($b); |
| 121 | |
| 122 | return $ret; |
| 123 | } |
| 124 | |
| 125 | //---------------------------------------------------------------------- |
| 126 | public function appendBytes($size, $data) |
nothing calls this directly
no test coverage detected