【发布时间】:2012-07-09 06:30:39
【问题描述】:
这就是我所拥有的:
byte[] buff = new byte[1];
byte[] buffer = { 10, 20, 30, 40 };
Stream data = new MemoryStream();
data.Write(buffer, 2, 2);
data.Position = 0;
InflaterInputStream _inflater;
_inflater = new InflaterInputStream(data);
int count = _inflater.Read(buff, 0, 1);
抛出SharpZipBaseException: Header checksum invalid and unexpected EOF异常,data.Position最后为2。
谁能告诉我可能是什么问题以及如何解决?提前致谢。
【问题讨论】:
标签: c# inputstream sharpziplib