| 359 | } |
| 360 | |
| 361 | tSize LibHdfsShim::Pread(hdfsFS fs, hdfsFile file, tOffset position, void* buffer, |
| 362 | tSize length) { |
| 363 | GET_SYMBOL(this, hdfsPread); |
| 364 | DCHECK(this->hdfsPread); |
| 365 | return this->hdfsPread(fs, file, position, buffer, length); |
| 366 | } |
| 367 | |
| 368 | tSize LibHdfsShim::Write(hdfsFS fs, hdfsFile file, const void* buffer, tSize length) { |
| 369 | return this->hdfsWrite(fs, file, buffer, length); |