[英]console output stating bit length overflow
當我運行我的應用程序時,我將這個 output 發送到控制台:
位長溢出代碼 11 位 7->5 代碼 16 位 4->5
位長溢出碼 4 位 6->7
位長溢出代碼 3 位 6->7 代碼 0 位 6->7
位長溢出碼 16 位 4->5
位長溢出碼 4 位 6->7 碼 5 位 6->5 碼 16 位 4->5
位長溢出碼 16 位 4->5
位長溢出代碼 0 位 6->7
位長溢出代碼 11 位 6->7
該應用程序壓縮了 3 個文件並將其保存到其文檔文件夾中,一切似乎都很好....除了這個 output。
更新:
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
@try {
NSString *docsPath =[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject];
NSString *filePath = [docsPath stringByAppendingPathComponent:@"ZipTest.zip"];
ZipFile *zipFile = [[ZipFile alloc] initWithFileName:filePath mode:ZipFileModeCreate];
ZipWriteStream *stream;
if (self.textSwitch.on) {
stream = [zipFile writeFileInZipWithName:@"text.txt" compressionLevel:ZipCompressionLevelBest];
}
[zipFile close];
[zipFile release];
}
@catch (ZipException *ze) {}
@catch (id e) {}
[pool drain];
這是什么意思?
謝謝
根據這個Mozilla 錯誤,這些是由在調試模式下構建 ZLIB 引起的,並且是無害的。您可以考慮始終構建 ZLIB 的發布版本。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.