hi in this code in .net 4 i used copyto method of gzipstream
System.IO.MemoryStream ms = new System.IO.MemoryStream(byteArray);
GZipStream DecompressOut = new GZipStream(ms, System.IO.Compression.CompressionMode.Decompress);
MemoryStream outmem = new MemoryStream();
DecompressOut.copyto(outmem);
FileStream outFile = new FileStream(fileName, FileMode.OpenOrCreate, FileAccess.Write);
StreamWriter m_streamWriter = new StreamWriter(outFile);
how can i diretly write GZipStream into MemoryStream or FileStream?