MCPcopy Create free account
hub / github.com/couchbase/fleece / findByteNotIn

Method findByteNotIn

API/fleece/slice.hh:687–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

endFunction · 0.85
findByteMethod · 0.80

Tested by

no test coverage detected