| 527 | } |
| 528 | |
| 529 | uint64_t CheckedFile::position( OffsetMode omode ) |
| 530 | { |
| 531 | // Get current file cursor position |
| 532 | const uint64_t pos = lseek64( 0LL, SEEK_CUR ); |
| 533 | |
| 534 | if ( omode == Physical ) |
| 535 | { |
| 536 | return pos; |
| 537 | } |
| 538 | |
| 539 | return physicalToLogical( pos ); |
| 540 | } |
| 541 | |
| 542 | uint64_t CheckedFile::length( OffsetMode omode ) |
| 543 | { |