public long binarySize() {
            return switch (this) {
                case BYTES -> 1;
                case KB -> 1 << 10;
                case MB -> 1 << 20;
                case GB -> 1 << 30;
                case TB -> 1L << 40;
            };
        }
Reprents a quantity of bytes with a human-readable string representation.
Currently only supports binary units (e.g. 1 kB = 1024 bytes).

@author bjorncs
vespajlib/src/main/java/ai/vespa/utils/BytesQuantity.java