Create new buffer after passing buffer to Deflate.setInput() as this method seems to keep a reference to the array instead of copying it.
Create new buffer after passing buffer to Deflate.setInput()
as this method seems to keep a reference to the array instead of
copying it.

simoc/mapyrus,simoc/mapyrus,simoc/mapyrus