DeflateDecompressor.applyConfiguredDictionary

private bool applyConfiguredDictionary()

Apply the configured dictionary when the inflate stream requests one.

Returns

true when the dictionary was accepted and applied.

Throws

- CompressionErrorCode.NEED_DICTIONARY if no dictionary is configured.
  • CompressionErrorCode.DATA_ERROR if the configured dictionary does not match the stream's DICTID.
  • CompressionErrorCode.INTERNAL_ERROR for unexpected zlib-layer errors.