FileHandler.cpp
/**
 * Gets the size of a file
 * @param binFile The file pointer
 * @return long The file size
 */
Gets the size of a file
@param binFile The file pointer
@return long The file size
Gets the size of a file @param binFile The file pointer @return long The file size
long FileHandler::getSize(FILE *binFile) {
    std::fseek(binFile, 0L, SEEK_END);
    long size = ftell(binFile);
    std::fseek(binFile, 0, SEEK_SET);
    return size;
}
long FileHandler :: getSize ( FILE * binFile ) { std :: fseek ( binFile , 0L , SEEK_END ) ; long size = ftell ( binFile ) ; std :: fseek ( binFile , 0 , SEEK_SET ) ; return size ; }
Gets the size of a file
 @param binFile The file pointer
 @return long The file size
Gets the size of a file @param binFile The file pointer @return long The file size