public static BinaryPrefix fromSymbol(char c) {
        for (BinaryPrefix binaryPrefix : values()) {
            if (binaryPrefix.symbol == c)
                return binaryPrefix;
        }
        throw new RuntimeException("No such binary prefix: " + c);
    }
Represents binary prefixes.

@author Tony Vaagenes
vespajlib/src/main/java/com/yahoo/binaryprefix/BinaryPrefix.java