absl::Cord::StartsWith

Determines whether the Cord starts with the passed string data rhs.

Synopsis

Declared in <absl/strings/cord.h>

bool
StartsWith(std::string_view rhs) const;

Return Value

true if the Cord starts with rhs.

Parameters

NameDescription
rhsThe prefix string to test for.