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

Method Seek

cpp/src/arrow/ipc/reader.cc:2941–2944  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2939bool IoRecordedRandomAccessFile::closed() const { return closed_; }
2940
2941Status IoRecordedRandomAccessFile::Seek(int64_t position) {
2942 position_ = position;
2943 return Status::OK();
2944}
2945
2946Result<int64_t> IoRecordedRandomAccessFile::Read(int64_t nbytes, void* out) {
2947 ARROW_ASSIGN_OR_RAISE(int64_t bytes_read, ReadAt(position_, nbytes, out));

Calls 1

OKFunction · 0.50