Better API for inflater stream.