if(configParams.length < 1) {
throw new IllegalArgumentException("Could not decode configuration: " + configParams);
}
// First arg is mode. Others are compression config and informational only.
CompressionMode mode = CompressionMode.valueOf(configParams[0]);
switch(mode) {
case Deflate:
return new DeflateInputTransform(streamToDecode, metadata);
case LZMA: