C# Класс System.IO.Compression.Inflater

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DeallocateInputBufferHandle void
Dispose void
Inflate ZLibNative.ErrorCode
InflateInit void
Inflater System.Diagnostics
ReadInflateOutput ZLibNative.ErrorCode

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

Метод Описание
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

Приватные методы

Метод Описание
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.

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

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

public Dispose ( ) : void
Результат void

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

Returns true if the end of the stream has been reached.
public Finished ( ) : bool
Результат bool

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

public Inflate ( byte &b ) : bool
b byte
Результат bool

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

public Inflate ( byte bytes, int offset, int length ) : int
bytes byte
offset int
length int
Результат int

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

public InflateVerified ( byte bufPtr, int length ) : int
bufPtr byte
length int
Результат int

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

public NeedsInput ( ) : bool
Результат bool

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

public SetInput ( byte inputBuffer, int startIndex, int count ) : void
inputBuffer byte
startIndex int
count int
Результат void