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

Method Seek

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

Source from the content-addressed store, hash-verified

3038bool IoRecordedRandomAccessFile::closed() const { return closed_; }
3039
3040Status IoRecordedRandomAccessFile::Seek(int64_t position) {
3041 position_ = position;
3042 return Status::OK();
3043}
3044
3045Result<int64_t> IoRecordedRandomAccessFile::Read(int64_t nbytes, void* out) {
3046 ARROW_ASSIGN_OR_RAISE(int64_t bytes_read, ReadAt(position_, nbytes, out));

Calls 1

OKFunction · 0.50