public static class TestHuffmanEncoder.HuffmanDecoder extends Object
Instances of this class are NOT thread-safe.
| Constructor and Description | 
|---|
| TestHuffmanEncoder.HuffmanDecoder() | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | decompress(byte[] compressed)Decompress a byte[]. | 
| byte[] | decompress(byte[] compressed,
          int off,
          int len) | 
| byte[] | decompress(DataInput is)Decompress an input stream until EOF. | 
| byte[] | decompress(DataInput is,
          int nbytes)Decompress N bytes from the input stream. | 
| byte[] | decompress(InputStream is)Decompress an input stream until EOF. | 
public byte[] decompress(DataInput is, int nbytes)
is - The input stream.nbytes - The #of bytes to be decompressed.public byte[] decompress(DataInput is)
is - The input stream.public byte[] decompress(InputStream is)
is - The input stream.public byte[] decompress(byte[] compressed)
compressed - The compressed data (w/ the ZLIB header).public byte[] decompress(byte[] compressed,
                int off,
                int len)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.