public static String formatSize(Long length) {
		return (length != null)
				? String.format("%d (%s)", length, FileUtilities.formatLength(length))
				: "NA";
	}
Common / unified size formatting for all file system information strings.

@param length {@link Long} length, null ok
@return pretty'ish length format string, or "NA" if length was null
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FSUtilities.java