コード例 #1
0
 /// <summary>
 /// Primary constructor.  Need to pass in a stream to wrap up with gzip.
 /// </summary>
 /// <param name="baseStream">The stream to wrap in gzip.  Must have CanWrite.</param>
 public GZipFilter(Stream baseStream) : base(baseStream, CompressionLevels.Normal)
 {
     m_stream = new GZipOutputStreamEx(baseStream);
 }
コード例 #2
0
ファイル: GZipFilter.cs プロジェクト: GodLesZ/svn-dump
		/// <summary>
		/// Primary constructor.  Need to pass in a stream to wrap up with gzip.
		/// </summary>
		/// <param name="baseStream">The stream to wrap in gzip.  Must have CanWrite.</param>
		public GZipFilter(Stream baseStream) : base(baseStream, CompressionLevels.Normal) 
		{
			m_stream = new GZipOutputStreamEx(baseStream);
		}