----------------------------------------------------------------------
($bits, $num)
| 1856 | |
| 1857 | //---------------------------------------------------------------------- |
| 1858 | public function appendNum($bits, $num) |
| 1859 | { |
| 1860 | if ($bits == 0) |
| 1861 | return 0; |
| 1862 | |
| 1863 | $b = QRbitstream::newFromNum($bits, $num); |
| 1864 | |
| 1865 | if(is_null($b)) |
| 1866 | return -1; |
| 1867 | |
| 1868 | $ret = $this->append($b); |
| 1869 | unset($b); |
| 1870 | |
| 1871 | return $ret; |
| 1872 | } |
| 1873 | |
| 1874 | //---------------------------------------------------------------------- |
| 1875 | public function appendBytes($size, $data) |
no test coverage detected