| 368 | } |
| 369 | |
| 370 | tSize LibHdfsShim::Pread(hdfsFS fs, hdfsFile file, tOffset position, void* buffer, |
| 371 | tSize length) { |
| 372 | GET_SYMBOL(this, hdfsPread); |
| 373 | DCHECK(this->hdfsPread); |
| 374 | return this->hdfsPread(fs, file, position, buffer, length); |
| 375 | } |
| 376 | |
| 377 | tSize LibHdfsShim::Write(hdfsFS fs, hdfsFile file, const void* buffer, tSize length) { |
| 378 | return this->hdfsWrite(fs, file, buffer, length); |