docs: public static long toBytes(String size) {
  		Matcher matcher = NUMBER_AND_UNIT.matcher(size);
  
  		if (matcher.matches()) {
  			long number = Long.parseLong(matcher.group(1));
  
  			String unitStr = matcher.group(2);
  			if (unitStr != null) {
  				char unit = unitStr.toLowerCase().charAt(0);
  
  				switch (unit) {
  					case 'b':
  						return number;
  					case 'k':
  						return number * K;
  					case 'm':
  						return number * M;
  					case 'g':
  						return number * G;
  					case 't':
  						return number * T;
  					default:
  						throw new IllegalArgumentException("unknown size unit :" + unit);
  				}
  			} else {
  				return number;
  			}
  		} else {
  			throw new IllegalArgumentException("malformed size string: " + size);
  		}
  	}