Interface Compression

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      byte[] compress​(byte[] in)
      Shrinks the given in array with length len
      byte[] decompress​(byte[] in)
      Grows the given in array with length len compressed with the shrink method.
    • Method Detail

      • compress

        byte[] compress​(byte[] in)
        Shrinks the given in array with length len
        Returns:
        a newly created array with the compressed data.
      • decompress

        byte[] decompress​(byte[] in)
                   throws java.io.IOException
        Grows the given in array with length len compressed with the shrink method.
        Returns:
        a newly created array with the expanded data.
        Throws:
        java.io.IOException