Flush the remaining information to the stream.
(self)
| 158 | return outs |
| 159 | |
| 160 | def flush(self): |
| 161 | """Flush the remaining information to the stream. |
| 162 | """ |
| 163 | while self.max_bit >= 0: |
| 164 | b1 = (self.low >> self.max_bit) & 1 |
| 165 | self.packer.push(b1) |
| 166 | self.max_bit -= 1 |
| 167 | self.packer.flush() |
| 168 | |
| 169 | |
| 170 | class ArithmeticDecoder: |
no test coverage detected