| 184 | } |
| 185 | |
| 186 | Future<std::shared_ptr<Buffer>> RandomAccessFile::ReadAsync(const IOContext& ctx, |
| 187 | int64_t position, |
| 188 | int64_t nbytes) { |
| 189 | return ReadAsync(ctx, position, nbytes, /*allow_short_read=*/true); |
| 190 | } |
| 191 | |
| 192 | // Default ReadAsync() implementation: simply issue the read on the context's executor |
| 193 | Future<std::shared_ptr<Buffer>> RandomAccessFile::ReadAsync(const IOContext& ctx, |
no test coverage detected