| 379 | constexpr ByteStringKind GetKind() const { return rep_.header.kind; } |
| 380 | |
| 381 | absl::string_view GetSmall() const { |
| 382 | ABSL_DCHECK_EQ(GetKind(), ByteStringKind::kSmall); |
| 383 | return GetSmall(rep_.small); |
| 384 | } |
| 385 | |
| 386 | static absl::string_view GetSmall(const SmallByteStringRep& rep) { |
| 387 | return absl::string_view(rep.data, rep.size); |
no test coverage detected