Inheritance diagram for ICSharpCode::SharpZipLib::Zip::Compression::Streams::InflaterInputStream:
Public Member Functions | |
override void | Flush () |
Flushes the baseInputStream. | |
override long | Seek (long offset, SeekOrigin origin) |
Sets the position within the current stream Always throws a NotSupportedException. | |
override void | SetLength (long val) |
Set the length of the current stream Always throws a NotSupportedException. | |
override void | Write (byte[] array, int offset, int count) |
Writes a sequence of bytes to stream and advances the current position This method always throws a NotSupportedException. | |
override void | WriteByte (byte val) |
Writes one byte to the current stream and advances the current position Always throws a NotSupportedException. | |
override IAsyncResult | BeginWrite (byte[] buffer, int offset, int count, AsyncCallback callback, object state) |
Entry point to begin an asynchronous write. Always throws a NotSupportedException. | |
InflaterInputStream (Stream baseInputStream) | |
Create an InflaterInputStream with the default decompressor and a default buffer size of 4KB. | |
InflaterInputStream (Stream baseInputStream, Inflater inf) | |
Create an InflaterInputStream with the specified decompressor and a default buffer size of 4KB. | |
InflaterInputStream (Stream baseInputStream, Inflater inflater, int bufferSize) | |
Create an InflaterInputStream with the specified decompressor and the specified buffer size. | |
override void | Close () |
Closes the input stream. When IsStreamOwner is true the underlying stream is also closed. | |
override int | Read (byte[] b, int off, int len) |
Decompresses data into the byte array. | |
long | Skip (long n) |
Skip specified number of bytes of uncompressed data. | |
Protected Member Functions | |
void | Fill () |
Fills the buffer with more data to decompress. | |
void | StopDecrypting () |
Clear any cryptographic state. | |
Protected Attributes | |
Inflater | inf |
Decompressor for this stream. | |
InflaterInputBuffer | inputBuffer |
InflaterInputBufferInput buffer for this stream. | |
Stream | baseInputStream |
Base stream the inflater reads from. | |
long | csize |
The compressed size. | |
Properties | |
bool | IsStreamOwner |
Get/set flag indicating ownership of underlying stream. When the flag is true Close will close the underlying stream also. | |
override bool | CanRead |
Gets a value indicating whether the current stream supports reading. | |
override bool | CanSeek |
Gets a value of false indicating seeking is not supported for this stream. | |
override bool | CanWrite |
Gets a value of false indicating that this stream is not writeable. | |
override long | Length |
A value representing the length of the stream in bytes. | |
override long | Position |
The current position within the stream. Throws a NotSupportedException when attempting to set the position. | |
virtual int | Available |
Returns 0 once the end of the stream (EOF) has been reached. Otherwise returns 1. | |
Private Attributes | |
bool | isClosed = false |
bool | isStreamOwner = true |
This stream may form the basis for other decompression filters, such as the ICSharpCode::SharpZipLib::GZip::GZipInputStreamGZipInputStream.
Author of the original java version : John Leuner.
Definition at line 328 of file InflaterInputStream.cs.
|
Create an InflaterInputStream with the default decompressor and a default buffer size of 4KB.
Definition at line 486 of file InflaterInputStream.cs. |
|
Create an InflaterInputStream with the specified decompressor and a default buffer size of 4KB.
Definition at line 500 of file InflaterInputStream.cs. |
|
Create an InflaterInputStream with the specified decompressor and the specified buffer size.
Definition at line 517 of file InflaterInputStream.cs. |
|
Entry point to begin an asynchronous write. Always throws a NotSupportedException.
Definition at line 474 of file InflaterInputStream.cs. |
|
Closes the input stream. When IsStreamOwner is true the underlying stream is also closed.
Reimplemented in ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream, and ICSharpCode::SharpZipLib::Zip::ZipInputStream. Definition at line 551 of file InflaterInputStream.cs. |
|
Fills the buffer with more data to decompress.
Definition at line 567 of file InflaterInputStream.cs. |
|
Flushes the baseInputStream.
Definition at line 419 of file InflaterInputStream.cs. |
|
Decompresses data into the byte array.
Reimplemented in ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream, and ICSharpCode::SharpZipLib::Zip::ZipInputStream. Definition at line 589 of file InflaterInputStream.cs. |
|
Sets the position within the current stream Always throws a NotSupportedException.
Definition at line 429 of file InflaterInputStream.cs. |
|
Set the length of the current stream Always throws a NotSupportedException.
Definition at line 439 of file InflaterInputStream.cs. |
|
Skip specified number of bytes of uncompressed data.
Definition at line 628 of file InflaterInputStream.cs. |
|
Clear any cryptographic state.
Definition at line 651 of file InflaterInputStream.cs. |
|
Writes a sequence of bytes to stream and advances the current position This method always throws a NotSupportedException.
Definition at line 449 of file InflaterInputStream.cs. |
|
Writes one byte to the current stream and advances the current position Always throws a NotSupportedException.
Definition at line 459 of file InflaterInputStream.cs. |
|
Base stream the inflater reads from.
Definition at line 343 of file InflaterInputStream.cs. |
|
The compressed size.
Definition at line 348 of file InflaterInputStream.cs. |
|
Decompressor for this stream.
Definition at line 333 of file InflaterInputStream.cs. |
|
InflaterInputBufferInput buffer for this stream.
Definition at line 338 of file InflaterInputStream.cs. |
|
Definition at line 350 of file InflaterInputStream.cs. |
|
Definition at line 351 of file InflaterInputStream.cs. |
|
Returns 0 once the end of the stream (EOF) has been reached. Otherwise returns 1.
Reimplemented in ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream, and ICSharpCode::SharpZipLib::Zip::ZipInputStream. Definition at line 541 of file InflaterInputStream.cs. |
|
Gets a value indicating whether the current stream supports reading.
Definition at line 369 of file InflaterInputStream.cs. |
|
Gets a value of false indicating seeking is not supported for this stream.
Definition at line 378 of file InflaterInputStream.cs. |
|
Gets a value of false indicating that this stream is not writeable.
Definition at line 387 of file InflaterInputStream.cs. |
|
Get/set flag indicating ownership of underlying stream. When the flag is true Close will close the underlying stream also. The default value is true. Definition at line 361 of file InflaterInputStream.cs. |
|
A value representing the length of the stream in bytes.
Definition at line 396 of file InflaterInputStream.cs. |
|
The current position within the stream. Throws a NotSupportedException when attempting to set the position.
Definition at line 407 of file InflaterInputStream.cs. |