Append writable bytes to the readable bytes. Appends n bytes from the start of the writable bytes to the end of the readable bytes. The remainder of the writable bytes are discarded. If n is greater than the number of writable bytes, all writable bytes are appended to the readable bytes. All buffers sequences previously obtained using @ref data or
| 482 | No-throw guarantee. |
| 483 | */ |
| 484 | void |
| 485 | commit(std::size_t n) noexcept |
| 486 | { |
| 487 | out_ += (std::min)(n, dist(out_, last_)); |
| 488 | } |
| 489 | |
| 490 | /** Remove bytes from beginning of the readable bytes. |
| 491 |