The number of current bytes written, including the current byte (i.e. may include a fraction of a byte). Includes buffered values.
| 49 | /// The number of current bytes written, including the current byte (i.e. may include a |
| 50 | /// fraction of a byte). Includes buffered values. |
| 51 | int bytes_written() const { return byte_offset_ + BitUtil::Ceil(bit_offset_, 8); } |
| 52 | uint8_t* buffer() const { return buffer_; } |
| 53 | int64_t buffer_len() const { return max_bytes_; } |
| 54 |
no outgoing calls