support for unwrapped deflate/inflate mode