Class GZip


  • public class GZip
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GZip()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] compress​(byte[] bytes)  
      static byte[] decompress​(byte[] bytes, int len)  
      • Methods inherited from class java.lang.Object

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

      • GZip

        public GZip()
    • Method Detail

      • compress

        public static byte[] compress​(byte[] bytes)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • decompress

        public static byte[] decompress​(byte[] bytes,
                                        int len)
                                 throws java.io.IOException
        Throws:
        java.io.IOException