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

Method write

bolt/serializers/PrestoSerializer.cpp:1193–1198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191 explicit CountingOutputStream() : OutputStream{nullptr} {}
1192
1193 void write(const char* /*s*/, std::streamsize count) override {
1194 pos_ += count;
1195 if (numBytes_ < pos_) {
1196 numBytes_ = pos_;
1197 }
1198 }
1199
1200 std::streampos tellp() const override {
1201 return pos_;

Callers 11

writeInt32Function · 0.45
writeInt64Function · 0.45
WriteMethod · 0.45
flushMethod · 0.45
writeInt32Function · 0.45
writeInt64Function · 0.45
flushMethod · 0.45
flushNullsMethod · 0.45
flushUncompressedFunction · 0.45
flushSerializationFunction · 0.45
flushMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected