Class BinaryMessageDecompressor


  • public class BinaryMessageDecompressor
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String decompress​(byte[] data)
      Decompresses the given byte array.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • decompress

        public static java.lang.String decompress​(byte[] data)
                                           throws java.util.zip.DataFormatException
        Decompresses the given byte array.
        Parameters:
        data - The data to decompress.
        Returns:
        The decompressed string.
        Throws:
        java.util.zip.DataFormatException - If the compressed data format is invalid.