buffer: buffer to write bits to. Buffer should be preallocated with 'buffer_len' bytes.
| 40 | /// buffer: buffer to write bits to. Buffer should be preallocated with |
| 41 | /// 'buffer_len' bytes. |
| 42 | BitWriter(uint8_t* buffer, int buffer_len) : buffer_(buffer), max_bytes_(buffer_len) { |
| 43 | Clear(); |
| 44 | } |
| 45 | |
| 46 | void Clear() { |
| 47 | buffered_values_ = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected