MCPcopy Create free account
hub / github.com/chrxh/alien / buf_start_with

Method buf_start_with

external/cpp-httplib/httplib.h:3994–3996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3992 std::string buf_head(size_t l) const { return buf_.substr(buf_spos_, l); }
3993
3994 bool buf_start_with(const std::string& s) const {
3995 return start_with(buf_, buf_spos_, buf_epos_, s);
3996 }
3997
3998 size_t buf_find(const std::string& s) const {
3999 auto c = s.front();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected