common_helper/src/main/java/com/xiongyingqi/util/FileHelper.java
public static boolean checkFileSizeLessThen(File file, long size) {
        try {
            fileNotFullAndExists(file);
        } catch (Exception e) {
            return false;
        }

        return file.length() <= size;
    }
public static boolean checkFileSizeLessThen(File file, long size) {
        try {
            fileNotFullAndExists(file);
        } catch (Exception e) {
            return false;
        }

        return file.length() <= size;
    }
public static final long DB = 1024 * NB;