push
Sends input data to deflate pipe, generating onData calls with new compressed chunks. Returns true on success. The last data block must have flush_mode Flush.Z_FINISH. That will flush internal pending buffers and call onEnd.
On fail call onEnd with error code and return false.