public class CompressionHuffman extends java.lang.Object implements Compression
| Constructor and Description |
|---|
CompressionHuffman() |
| Modifier and Type | Method and 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. |
public byte[] compress(byte[] in)
Compressionin array with length lencompress in interface Compressionpublic byte[] decompress(byte[] in)
throws java.io.IOException
Compressionin array with length len
compressed with the shrink method.decompress in interface Compressionjava.io.IOException