| 353 | } |
| 354 | |
| 355 | Status ValidateRange(int64_t offset, int64_t size) { |
| 356 | if (offset < 0 || size < 0) { |
| 357 | return Status::Invalid("Invalid IO range (offset = ", offset, ", size = ", size, ")"); |
| 358 | } |
| 359 | return Status::OK(); |
| 360 | } |
| 361 | |
| 362 | #ifndef NDEBUG |
| 363 |