Interface Compression

All Known Implementing Classes:
Compression

public interface Compression
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int DEFLATER  
    static int INFLATER  
  • Method Summary

    Modifier and Type Method Description
    byte[] compress​(byte[] buf, int start, int[] len)  
    void init​(int type, int level)  
    byte[] uncompress​(byte[] buf, int start, int[] len)  
  • Field Details

  • Method Details

    • init

      void init​(int type, int level) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • compress

      byte[] compress​(byte[] buf, int start, int[] len)
    • uncompress

      byte[] uncompress​(byte[] buf, int start, int[] len)