C# Class ICSharpCode.SharpZipLib.GZip.GZipInputStream

This filter stream is used to decompress a "GZIP" format stream. The "GZIP" format is described baseInputStream RFC 1952. author of the original java version : John Leuner
Inheritance: ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream
Afficher le fichier Open project: icsharpcode/SharpZipLib Class Usage Examples

Protected Properties

Свойство Type Description
crc ICSharpCode.SharpZipLib.Checksums.Crc32

Méthodes publiques

Méthode Description
GZipInputStream ( Stream baseInputStream ) : System

Creates a GZipInputStream with the default buffer size

GZipInputStream ( Stream baseInputStream, int size ) : System

Creates a GZIPInputStream with the specified buffer size

Read ( byte buffer, int offset, int count ) : int

Reads uncompressed data into an array of bytes

Méthodes protégées

Méthode Description
ReadFooter ( ) : void

Private Methods

Méthode Description
ReadHeader ( ) : bool

Method Details

GZipInputStream() public méthode

Creates a GZipInputStream with the default buffer size
public GZipInputStream ( Stream baseInputStream ) : System
baseInputStream Stream /// The stream to read compressed data from (baseInputStream GZIP format) ///
Résultat System

GZipInputStream() public méthode

Creates a GZIPInputStream with the specified buffer size
public GZipInputStream ( Stream baseInputStream, int size ) : System
baseInputStream Stream /// The stream to read compressed data from (baseInputStream GZIP format) ///
size int /// Size of the buffer to use ///
Résultat System

Read() public méthode

Reads uncompressed data into an array of bytes
public Read ( byte buffer, int offset, int count ) : int
buffer byte /// The buffer to read uncompressed data into ///
offset int /// The offset indicating where the data should be placed ///
count int /// The number of uncompressed bytes to be read ///
Résultat int

ReadFooter() protected méthode

protected ReadFooter ( ) : void
Résultat void

Property Details

crc protected_oe property

CRC-32 value for uncompressed data
protected Crc32,ICSharpCode.SharpZipLib.Checksums crc
Résultat ICSharpCode.SharpZipLib.Checksums.Crc32