これは私が持っているものです:
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: ヘッダー チェックサムが不正で予期しない EOF 例外をスローし、最後に data.Position が 2 になります。
何が問題なのか、それを修正する方法を誰か教えてもらえますか? 前もって感謝します。