| 56 | } |
| 57 | uint8_t* buffer() const { return buffer_; } |
| 58 | int buffer_len() const { return max_bytes_; } |
| 59 | |
| 60 | /// Writes a value to buffered_values_, flushing to buffer_ if necessary. This is bit |
| 61 | /// packed. Returns false if there was not enough space. num_bits must be <= 64. |