Deflater.setDictionary
Class Overview | Class Members |
This Package |
All Packages
public native synchronized void setDictionary( byte b[],
int off,
int len )
Parameters
- b
- the dictionary data bytes
- off
- the start offset of the data
- len
- the length of the data
Description
Sets preset dictionary for compression. A preset dictionary is used
when the history buffer can be predetermined. When the data is later
uncompressed with Inflater.inflate(), Inflater.getAdler() can be called
in order to get the Adler-32 value of the dictionary required for
decompression.
See Also
inflate, getAdler
public void setDictionary( byte b[] )
Parameters
- b
- the dictionary data bytes
Description
Sets preset dictionary for compression. A preset dictionary is used
when the history buffer can be predetermined. When the data is later
uncompressed with Inflater.inflate(), Inflater.getAdler() can be called
in order to get the Adler-32 value of the dictionary required for
decompression.
See Also
inflate, getAdler