@Override
InputStream decode(final InputStream in, final Coder coder, byte[] password) throws IOException {
try {
int dictionarySize = getDictionarySize(coder);
return new LZMA2InputStream(in, dictionarySize);
} catch (IllegalArgumentException ex) {
throw new IOException(ex.getMessage());
}
}