public class VCDiffDecoder extends Object
| Constructor and Description |
|---|
VCDiffDecoder(VCDiffStreamingDecoder decoder) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(byte[] dictionary,
byte[] encoding,
int offset,
int len,
OutputStream target)
Deprecated.
use
decode(byte[], byte[], OutputStream)
decode the contents of encoding using the specified dictionary, writing the decoded data to target |
void |
decode(byte[] dictionary,
byte[] encoding,
OutputStream target)
Convenience method equivalent to decode(ByteBuffer.wrap(dictionary), ByteBuffer.wrap(encoding), target)
|
void |
decode(ByteBuffer dictionary,
ByteBuffer encoding,
OutputStream target)
decode the contents of encoding using the specified dictionary, writing the decoded data to target
|
public VCDiffDecoder(VCDiffStreamingDecoder decoder)
@Deprecated public void decode(byte[] dictionary, byte[] encoding, int offset, int len, OutputStream target) throws IOException
decode(byte[], byte[], OutputStream)
decode the contents of encoding using the specified dictionary, writing the decoded data to targetdictionary - dictionaryencoding - data to decodeoffset - offset into encoding to start decodinglen - number of bytes to decodetarget - output writer for decoded dataIOException - if there was an exception decoding or writing to the output targetpublic void decode(ByteBuffer dictionary, ByteBuffer encoding, OutputStream target) throws IOException
dictionary - dictionaryencoding - data to decodetarget - output writer for decoded dataIOException - if there was an exception decoding or writing to the output targetpublic void decode(byte[] dictionary,
byte[] encoding,
OutputStream target)
throws IOException
dictionary - dictionaryencoding - data to decodetarget - output writer for decoded dataIOException - if there was an exception decoding or writing to the output targetCopyright © 2018. All rights reserved.