在压缩文件的数据时,我遇到了问题。所有的工作都是压缩调用,但这不是压缩调用本身,因为分段错误在它之前抛出。= Z_STREAM_END) // an error occurred that was not EOF std::ostringstream oss;
oss<< "Exception during zlib compression: (" << ret << ") &
作为快速概述,我有一个C#服务器,它可以使用GZipStream解压缩传入的字符串。我的任务是编写一个C++客户机,它将压缩与GZipStream解压缩兼容的字符串。= Z_STREAM_END) { // an error occurred that was not EOF
std::ostringstream oss;oss << "Exception during zlib compression: (" <