| 514 | } |
| 515 | |
| 516 | inline int ByteString::Compare(const ByteString& rhs) const { |
| 517 | return rhs.Visit(absl::Overload( |
| 518 | [this](absl::string_view rhs) -> int { return Compare(rhs); }, |
| 519 | [this](const absl::Cord& rhs) -> int { return Compare(rhs); })); |
| 520 | } |
| 521 | |
| 522 | inline bool ByteString::StartsWith(const ByteString& rhs) const { |
| 523 | return rhs.Visit(absl::Overload( |