| 482 | } |
| 483 | |
| 484 | inline void RleEncoder::Clear() { |
| 485 | buffer_full_ = false; |
| 486 | current_value_ = 0; |
| 487 | repeat_count_ = 0; |
| 488 | num_buffered_values_ = 0; |
| 489 | literal_count_ = 0; |
| 490 | literal_indicator_byte_ = NULL; |
| 491 | bit_writer_.Clear(); |
| 492 | } |
| 493 | |
| 494 | template <typename T> |
| 495 | inline void RleBatchDecoder<T>::Reset(uint8_t* buffer, int buffer_len, int bit_width) { |
no outgoing calls