C# Class System.IO.Compression.Inflater

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
DeallocateInputBufferHandle void
Dispose void
Inflate ZLibNative.ErrorCode
InflateInit void
Inflater System.Diagnostics
ReadInflateOutput ZLibNative.ErrorCode

Méthodes publiques

Méthode Description
Dispose ( ) : void
Finished ( ) : bool

Returns true if the end of the stream has been reached.

Inflate ( byte &b ) : bool
Inflate ( byte bytes, int offset, int length ) : int
InflateVerified ( byte bufPtr, int length ) : int
NeedsInput ( ) : bool
SetInput ( byte inputBuffer, int startIndex, int count ) : void

Private Methods

Méthode Description
DeallocateInputBufferHandle ( ) : void

Frees the GCHandle being used to store the input buffer

Dispose ( bool disposing ) : void
Inflate ( ZLibNative flushCode ) : ZLibNative.ErrorCode
InflateInit ( int windowBits ) : void
Inflater ( int windowBits ) : System.Diagnostics

Initialized the Inflater with the given windowBits size

ReadInflateOutput ( byte bufPtr, int length, ZLibNative flushCode, int &bytesRead ) : ZLibNative.ErrorCode

Wrapper around the ZLib inflate function, configuring the stream appropriately.

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Finished() public méthode

Returns true if the end of the stream has been reached.
public Finished ( ) : bool
Résultat bool

Inflate() public méthode

public Inflate ( byte &b ) : bool
b byte
Résultat bool

Inflate() public méthode

public Inflate ( byte bytes, int offset, int length ) : int
bytes byte
offset int
length int
Résultat int

InflateVerified() public méthode

public InflateVerified ( byte bufPtr, int length ) : int
bufPtr byte
length int
Résultat int

NeedsInput() public méthode

public NeedsInput ( ) : bool
Résultat bool

SetInput() public méthode

public SetInput ( byte inputBuffer, int startIndex, int count ) : void
inputBuffer byte
startIndex int
count int
Résultat void