| 128 | Status Close() { return fd_.Close(); } |
| 129 | |
| 130 | Result<int64_t> Read(int64_t nbytes, void* out) { |
| 131 | RETURN_NOT_OK(CheckClosed()); |
| 132 | RETURN_NOT_OK(CheckPositioned()); |
| 133 | return ::arrow::internal::FileRead(fd_.fd(), reinterpret_cast<uint8_t*>(out), nbytes); |
| 134 | } |
| 135 | |
| 136 | Result<int64_t> ReadAt(int64_t position, int64_t nbytes, bool allow_short_read, |
| 137 | void* out) { |
nothing calls this directly
no test coverage detected