C# Class MVC5.Common.HttpCompress.DeflateFilter

Summary description for DeflateFilter.
Inheritance: CompressingFilter
Afficher le fichier Open project: rabbal/AspNetMVCNTierTemp

Méthodes publiques

Méthode Description
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

Method Details

Close() public méthode

Closes this Filter and calls the base class implementation.
public Close ( ) : void
Résultat void

DeflateFilter() public méthode

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
Résultat System.IO

DeflateFilter() public méthode

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
Résultat System.IO

Flush() public méthode

Flushes that the filter out to underlying storage
public Flush ( ) : void
Résultat void

Write() public méthode

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
Résultat void