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

This is a little filter to support HTTP compression using GZip
Наследование: CompressingFilter
Показать файл Открыть проект

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

Метод Описание
Close ( ) : void

Closes this Filter and calls the base class implementation.

Flush ( ) : void

Flushes the stream out to underlying storage

GZipFilter ( Stream baseStream ) : System.IO

Primary constructor. Need to pass in a stream to wrap up with gzip.

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

Write content to the stream and have it compressed using gzip.

Описание методов

Close() публичный Метод

Closes this Filter and calls the base class implementation.
public Close ( ) : void
Результат void

Flush() публичный Метод

Flushes the stream out to underlying storage
public Flush ( ) : void
Результат void

GZipFilter() публичный Метод

Primary constructor. Need to pass in a stream to wrap up with gzip.
public GZipFilter ( Stream baseStream ) : System.IO
baseStream System.IO.Stream The stream to wrap in gzip. Must have CanWrite.
Результат System.IO

Write() публичный Метод

Write content to the stream and have it compressed using gzip.
public Write ( byte buffer, int offset, int count ) : void
buffer byte The bytes to write
offset int The offset into the buffer to start reading bytes
count int The number of bytes to write
Результат void