MCPcopy Create free account
hub / github.com/PDAL/PDAL / position

Method position

plugins/e57/libE57Format/src/CheckedFile.cpp:529–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529uint64_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
542uint64_t CheckedFile::length( OffsetMode omode )
543{

Callers 1

closeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected