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 |
ByteArray |
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 ByteArray decompress(byte[] in) throws NoPlantumlCompressionException
Compressionin array with length len compressed
with the shrink method.decompress in interface CompressionNoPlantumlCompressionException