Added new method getCompressedDataLen
Added setInput() method