MCPcopy Create free account
hub / github.com/bytedance/bolt / write

Method write

bolt/common/memory/ByteStream.h:91–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 : OutputStream(listener), out_(out) {}
90
91 void write(const char* s, std::streamsize count) override {
92 out_->write(s, count);
93 if (listener_) {
94 listener_->onWrite(s, count);
95 }
96 }
97
98 std::streampos tellp() const override {
99 return out_->tellp();

Callers

nothing calls this directly

Calls 2

writeMethod · 0.45
onWriteMethod · 0.45

Tested by

no test coverage detected