Returns true if no byte is consumed in the buffer.
| 75 | |
| 76 | /// Returns true if no byte is consumed in the buffer. |
| 77 | bool IsEmpty() const { return len_ == 0; } |
| 78 | |
| 79 | /// Grows the buffer to be at least 'new_size', copying over the previous data |
| 80 | /// into the new buffer. The old buffer is not freed. Return an error status if |
no outgoing calls