| 315 | } |
| 316 | |
| 317 | Future<std::shared_ptr<Buffer>> BufferReader::ReadAsync(const IOContext&, |
| 318 | int64_t position, |
| 319 | int64_t nbytes) { |
| 320 | return Future<std::shared_ptr<Buffer>>::MakeFinished( |
| 321 | DoReadAt(position, nbytes, /*allow_short_read=*/true)); |
| 322 | } |
| 323 | |
| 324 | Future<std::shared_ptr<Buffer>> BufferReader::ReadAsync(const IOContext&, |
| 325 | int64_t position, int64_t nbytes, |
nothing calls this directly
no outgoing calls
no test coverage detected