C# 클래스 MVC5.Common.HttpCompress.DeflateFilter

Summary description for DeflateFilter.
상속: CompressingFilter
파일 보기 프로젝트 열기: rabbal/AspNetMVCNTierTemp

공개 메소드들

메소드 설명
Close ( ) : void

Closes this Filter and calls the base class implementation.

DeflateFilter ( Stream baseStream ) : System.IO

Basic constructor that uses the Normal compression level

DeflateFilter ( Stream baseStream, CompressionLevels compressionLevel ) : System.IO

Full constructor that allows you to set the wrapped stream and the level of compression

Flush ( ) : void

Flushes that the filter out to underlying storage

Write ( byte buffer, int offset, int count ) : void

Write out bytes to the underlying stream after compressing them using deflate

메소드 상세

Close() 공개 메소드

Closes this Filter and calls the base class implementation.
public Close ( ) : void
리턴 void

DeflateFilter() 공개 메소드

Basic constructor that uses the Normal compression level
public DeflateFilter ( Stream baseStream ) : System.IO
baseStream System.IO.Stream The stream to wrap up with the deflate algorithm
리턴 System.IO

DeflateFilter() 공개 메소드

Full constructor that allows you to set the wrapped stream and the level of compression
public DeflateFilter ( Stream baseStream, CompressionLevels compressionLevel ) : System.IO
baseStream System.IO.Stream The stream to wrap up with the deflate algorithm
compressionLevel CompressionLevels The level of compression to use
리턴 System.IO

Flush() 공개 메소드

Flushes that the filter out to underlying storage
public Flush ( ) : void
리턴 void

Write() 공개 메소드

Write out bytes to the underlying stream after compressing them using deflate
public Write ( byte buffer, int offset, int count ) : void
buffer byte The array of bytes to write
offset int The offset into the supplied buffer to start
count int The number of bytes to write
리턴 void