public class CompressionHuffman extends 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)
Compression
in
array with length len
compress
in interface Compression
public byte[] decompress(byte[] in) throws IOException
Compression
in
array with length len
compressed with the shrink
method.decompress
in interface Compression
IOException
Copyright © 2014. All Rights Reserved.