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

Method buf_data

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

Source from the content-addressed store, hash-verified

3988 size_t buf_size() const { return buf_epos_ - buf_spos_; }
3989
3990 const char* buf_data() const { return &buf_[buf_spos_]; }
3991
3992 std::string buf_head(size_t l) const { return buf_.substr(buf_spos_, l); }
3993

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected