----------------------------------------------------------------------
()
| 588 | |
| 589 | //---------------------------------------------------------------------- |
| 590 | public function createBitStream() |
| 591 | { |
| 592 | $total = 0; |
| 593 | |
| 594 | foreach($this->items as $item) { |
| 595 | $bits = $item->encodeBitStream($this->version); |
| 596 | |
| 597 | if($bits < 0) |
| 598 | return -1; |
| 599 | |
| 600 | $total += $bits; |
| 601 | } |
| 602 | |
| 603 | return $total; |
| 604 | } |
| 605 | |
| 606 | //---------------------------------------------------------------------- |
| 607 | public function convertData() |
no test coverage detected