[Acc] [PATCH 4/7] uadk/zlibwrapper - remove duplication for deflate and inflate