| 45 | sonic_force_inline size_t Size() const { return top_ - buf_; } |
| 46 | sonic_force_inline size_t Capacity() const { return cap_; } |
| 47 | sonic_force_inline bool Empty() const { return Size() == 0; } |
| 48 | |
| 49 | /** |
| 50 | * @brief Increase the capacity of buffer if new_cap is greater than the |