public static long byteStringAsBytes(String str) {
        return parseByteString(str, ByteUnit.BYTE);
    }
Convert a passed byte string (e.g. 50b, 100k, or 250m) to bytes for
internal use.

If no suffix is provided, the passed number is assumed to be in bytes.
indexr-query-opt/src/main/java/org/apache/spark/util/JavaUtils.java