| 685 | |
| 686 | |
| 687 | __hot |
| 688 | inline const uint8_t* pure_slice::findByteNotIn(pure_slice targetBytes) const noexcept { |
| 689 | for (auto c = (const uint8_t*)buf; c != end(); ++c) { |
| 690 | if (!targetBytes.findByte(*c)) |
| 691 | return c; |
| 692 | } |
| 693 | return nullptr; |
| 694 | } |
| 695 | |
| 696 | |
| 697 | inline bool pure_slice::hasPrefix(pure_slice s) const noexcept { |