absl::Cord::Advance

Advances the Cord::CharIterator by n_bytes.

Synopsis

Declared in <absl/strings/cord.h>

static
void
Advance(
    CharIterator* it,
    size_t n_bytes);

Description

n_bytes must be less than or equal to the number of bytes remaining within the Cord; otherwise, behavior is undefined. It is valid to pass char_end() and 0.

Parameters

NameDescription
itThe iterator to advance.
n_bytesThe number of bytes to advance.