function deflateSync deflateSync(buf: InputType,options?: ZlibOptions,): Buffer Compress a chunk of data with Deflate. Parameters buf: InputType optional options: ZlibOptions Return Type Buffer