Code example for Deflater

Methods: deflate, finish, getBytesRead, getTotalIn, getTotalOut, setInput