Java Utililty Methods Ungzip Byte Array

List of utility methods to do Ungzip Byte Array

Description

The list of methods to do Ungzip Byte Array are organized into topic(s).

Method

StringungzipPayload(byte[] compressed)
ungzip Payload
try {
    if ((compressed == null) || (compressed.length == 0)) {
        throw new RuntimeException("Null/empty compressed payload. is_null=" + (compressed == null));
    final StringBuilder outStr = new StringBuilder();
    final GZIPInputStream gis = new GZIPInputStream(new ByteArrayInputStream(compressed));
    final BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(gis, "UTF-8"));
    String line;
...