| 56 | size_t Utf8Decode(const absl::Cord::CharIterator& it, |
| 57 | char32_t* absl_nullable code_point); |
| 58 | inline std::pair<char32_t, size_t> Utf8Decode(absl::string_view str) { |
| 59 | char32_t code_point; |
| 60 | size_t code_units = Utf8Decode(str, &code_point); |
| 61 | return std::pair{code_point, code_units}; |
| 62 | } |
| 63 | inline std::pair<char32_t, size_t> Utf8Decode( |
| 64 | const absl::Cord::CharIterator& it) { |
| 65 | char32_t code_point; |
no outgoing calls