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

Method Read

cpp/src/arrow/io/test_common.cc:122–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 Result<int64_t> Tell() const override { return delegate_->Tell(); }
121 Status Seek(int64_t position) override { return delegate_->Seek(position); }
122 Result<int64_t> Read(int64_t nbytes, void* out) override {
123 ARROW_ASSIGN_OR_RAISE(auto position, delegate_->Tell());
124 SaveReadRange(position, nbytes);
125 return delegate_->Read(nbytes, out);
126 }
127 Result<std::shared_ptr<Buffer>> Read(int64_t nbytes) override {
128 ARROW_ASSIGN_OR_RAISE(auto position, delegate_->Tell());
129 SaveReadRange(position, nbytes);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected