我有一个C#应用程序,我在其中使用SharpZipLib压缩一个很长的字符串,然后将数据发送到压缩字节[]的Base64字符串中的PHP服务。出于某种原因,当尝试在PHP端对其进行Inflate时,它返回错误:“gzinflate:数据错误”。如何在PHP中扩充压缩后的字符串?这是C#代码:byte[]sIn=System.Text.UTF8Encoding.UTF8.GetBytes(data);MemoryStreamrawDataStream=newMemoryStream();GZipOutputStreamgzipOut=newGZipOutputStream(rawDa