MCPcopy Create free account
hub / github.com/boostorg/histogram / python_bytes_sink

Method python_bytes_sink

src/python/serialization_suite.hpp:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32class python_bytes_sink : public iostreams::sink {
33public:
34 python_bytes_sink(PyObject** pstr) : pstr_(pstr), len_(0), pos_(0) {
35 BOOST_ASSERT(*pstr == 0);
36 }
37
38 std::streamsize write(const char* s, std::streamsize n) {
39 if (len_ == 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected