C# 클래스 ICSharpCode.SharpZipLib.GZip.GZipOutputStream

This filter stream is used to compress a stream into a "GZIP" stream. The "GZIP" format is described in RFC 1952. author of the original java version : John Leuner
상속: ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream
파일 보기 프로젝트 열기: icsharpcode/SharpZipLib 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
crc ICSharpCode.SharpZipLib.Checksum.Crc32

공개 메소드들

메소드 설명
Finish ( ) : void

Finish compression and write any footer information required to stream

GZipOutputStream ( Stream baseOutputStream ) : System

Creates a GzipOutputStream with the default buffer size

GZipOutputStream ( Stream baseOutputStream, int size ) : System

Creates a GZipOutputStream with the specified buffer size

GetLevel ( ) : int

Get the current compression level.

SetLevel ( int level ) : void

Sets the active compression level (1-9). The new level will be activated immediately.

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

Write given buffer to output updating crc

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Writes remaining compressed output data to the output stream and closes it.

WriteHeader ( ) : void

메소드 상세

Dispose() 보호된 메소드

Writes remaining compressed output data to the output stream and closes it.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Finish() 공개 메소드

Finish compression and write any footer information required to stream
public Finish ( ) : void
리턴 void

GZipOutputStream() 공개 메소드

Creates a GzipOutputStream with the default buffer size
public GZipOutputStream ( Stream baseOutputStream ) : System
baseOutputStream Stream /// The stream to read data (to be compressed) from ///
리턴 System

GZipOutputStream() 공개 메소드

Creates a GZipOutputStream with the specified buffer size
public GZipOutputStream ( Stream baseOutputStream, int size ) : System
baseOutputStream Stream /// The stream to read data (to be compressed) from ///
size int /// Size of the buffer to use ///
리턴 System

GetLevel() 공개 메소드

Get the current compression level.
public GetLevel ( ) : int
리턴 int

SetLevel() 공개 메소드

Sets the active compression level (1-9). The new level will be activated immediately.
/// Level specified is not supported. ///
public SetLevel ( int level ) : void
level int The compression level to set.
리턴 void

Write() 공개 메소드

Write given buffer to output updating crc
public Write ( byte buffer, int offset, int count ) : void
buffer byte Buffer to write
offset int Offset of first byte in buf to write
count int Number of bytes to write
리턴 void

WriteHeader() 보호된 메소드

protected WriteHeader ( ) : void
리턴 void

프로퍼티 상세

crc 보호되어 있는 프로퍼티

CRC-32 value for uncompressed data
protected Crc32,ICSharpCode.SharpZipLib.Checksum crc
리턴 ICSharpCode.SharpZipLib.Checksum.Crc32