Interface Compression

All Known Implementing Classes:
CompressionBrotli, CompressionGZip, CompressionHuffman, CompressionNone, CompressionZip, CompressionZlib, CompressionZlibAttic, CompressionZopfliZlib

public interface Compression
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    compress(byte[] in)
    Shrinks the given in array with length len
    decompress(byte[] in)
    Grows the given in array with length len compressed with the shrink method.
  • Method Details

    • compress

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

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