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

Method Write

python/pyarrow/src/arrow/python/io.cc:315–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313Result<int64_t> PyOutputStream::Tell() const { return position_; }
314
315Status PyOutputStream::Write(const void* data, int64_t nbytes) {
316 return SafeCallIntoPython([=]() {
317 position_ += nbytes;
318 return file_->Write(data, nbytes);
319 });
320}
321
322Status PyOutputStream::Write(const std::shared_ptr<Buffer>& buffer) {
323 return SafeCallIntoPython([=]() {

Callers

nothing calls this directly

Calls 2

SafeCallIntoPythonFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected