MCPcopy Create free account
hub / github.com/apache/arrow / Write

Method Write

cpp/src/arrow/filesystem/mockfs.cc:232–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230 }
231
232 Status Write(const void* data, int64_t nbytes) override {
233 if (closed_) {
234 return Status::Invalid("Invalid operation on closed stream");
235 }
236 return builder_.Append(data, nbytes);
237 }
238
239 protected:
240 File* file_;

Callers 2

OpenOutputStreamMethod · 0.45
CreateFileMethod · 0.45

Calls 2

InvalidFunction · 0.50
AppendMethod · 0.45

Tested by

no test coverage detected