public static CompressionInfo fromSlime(Inspector field) {
        CompressionType type = CompressionType.parse(field.field(COMPRESSION_TYPE).asString());
        int uncompressedSize = (int) field.field(UNCOMPRESSED_SIZE).asLong();
        return new CompressionInfo(type, uncompressedSize);
    }
Contains info relevant for compression and decompression.

@author Ulf Lilleengen
config/src/main/java/com/yahoo/vespa/config/protocol/CompressionInfo.java