C# 클래스 Common.HttpCompress.GZipFilter

This is a little filter to support HTTP compression using GZip
상속: CompressingFilter
파일 보기 프로젝트 열기: rabbal/Mvc5

공개 메소드들

메소드 설명
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