ddth-cache-adapter-core/src/main/java/com/github/ddth/cacheadapter/utils/compressor/JdkDeflateCompressor.java
@Override
    public byte[] decompress(byte[] compressedData) throws IOException {
        try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
            try (InflaterOutputStream ios = new InflaterOutputStream(baos)) {
                ios.write(compressedData);
                ios.finish();
                return baos.toByteArray();
            }
        }
    }
@Override
    public byte[] decompress(byte[] compressedData) throws IOException {
        try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
            try (InflaterOutputStream ios = new InflaterOutputStream(baos)) {
                ios.write(compressedData);
                ios.finish();
                return baos.toByteArray();
            }
        }
    }
{@inheritDoc}

@throws IOException