net.sourceforge.plantuml.code
Interface Compression

All Known Implementing Classes:
CompressionGZip, CompressionHuffman, CompressionNone, CompressionZlib

public interface Compression


Method Summary
 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 IOException
Grows the given in array with length len compressed with the shrink method.

Returns:
a newly created array with the expanded data.
Throws:
IOException


Copyright © 2012. All Rights Reserved.