| 475 | } |
| 476 | |
| 477 | inline void RleEncoder::CheckBufferFull() { |
| 478 | int bytes_written = bit_writer_.bytes_written(); |
| 479 | if (bytes_written + max_run_byte_size_ > bit_writer_.buffer_len()) { |
| 480 | buffer_full_ = true; |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | inline void RleEncoder::Clear() { |
| 485 | buffer_full_ = false; |
nothing calls this directly
no test coverage detected