| 103 | /// TODO(IMPALA-10761): Add query option to control the error handling. |
| 104 | int FindUtf8PosBackward(const uint8_t* str_ptr, const int str_len, const int index); |
| 105 | inline int FindUtf8PosBackward(const char* str_ptr, const int str_len, const int index) { |
| 106 | return FindUtf8PosBackward(reinterpret_cast<const uint8_t*>(str_ptr), str_len, index); |
| 107 | } |
| 108 | |
| 109 | /// Subclass of std::stringstream that adds functionality to allow overwriting the very |
| 110 | /// last character of the stream. The purpose of this additional functionality is to |
no outgoing calls