MCPcopy Create free account
hub / github.com/PABannier/bark.cpp / buf_data

Method buf_data

examples/server/httplib.h:4451–4451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4449 size_t buf_size() const { return buf_epos_ - buf_spos_; }
4450
4451 const char *buf_data() const { return &buf_[buf_spos_]; }
4452
4453 std::string buf_head(size_t l) const { return buf_.substr(buf_spos_, l); }
4454

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected