Advances the Cord::CharIterator by n_bytes and returns the bytes advanced as a separate Cord.
Declared in <absl/strings/cord.h>
static
Cord
AdvanceAndRead(
CharIterator* it,
size_t n_bytes);
n_bytes must be less than or equal to the number of bytes within the Cord; otherwise, behavior is undefined. It is valid to pass char_end() and 0.
A Cord holding the bytes advanced over.
| Name | Description |
|---|---|
| it | The iterator to advance. |
| n_bytes | The number of bytes to advance and read. |