| 178 | } |
| 179 | |
| 180 | LengthType FindBytePosition(const UTF8StringSliceBase& pattern) const { |
| 181 | return static_cast<LengthType>( |
| 182 | ToString().find(pattern.str, 0, pattern.byteLength)); |
| 183 | } |
| 184 | |
| 185 | bool operator<(const UTF8StringSliceBase& that) const { |
| 186 | return Compare(that) < 0; |