| 283 | } |
| 284 | |
| 285 | bool ByteString::EndsWith(absl::string_view rhs) const { |
| 286 | return Visit(absl::Overload( |
| 287 | [&rhs](absl::string_view lhs) -> bool { |
| 288 | return absl::EndsWith(lhs, rhs); |
| 289 | }, |
| 290 | [&rhs](const absl::Cord& lhs) -> bool { return lhs.EndsWith(rhs); })); |
| 291 | } |
| 292 | |
| 293 | bool ByteString::EndsWith(const absl::Cord& rhs) const { |
| 294 | return Visit(absl::Overload( |