C# Класс Common.HttpCompress.DeflateFilter

Summary description for DeflateFilter.
Наследование: CompressingFilter
Показать файл Открыть проект

Открытые методы

Метод Описание
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