int RageFile::Seek( int offset, int whence ) { switch( whence ) { case SEEK_CUR: return SeekCur( (int) offset ); case SEEK_END: offset += GetFileSize(); } return Seek( (int) offset ); }
/// Get the current file pointer position u64 YCFile::GetPosition() { return SeekCur(0); }