ZipInputStream Members

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

ZipInputStream Members

ZipInputStream overview

Public Instance Constructors

ZipInputStream Constructor Creates a new Zip input stream, for reading a zip archive.

Public Instance Properties

Available Returns 1 if there is an entry available Otherwise returns 0.
CanDecompressEntry Gets a value indicating if there is a current entry and it can be decompressed
CanRead (inherited from InflaterInputStream) Gets a value indicating whether the current stream supports reading
CanSeek (inherited from InflaterInputStream) Gets a value of false indicating seeking is not supported for this stream.
CanWrite (inherited from InflaterInputStream) Gets a value of false indicating that this stream is not writeable.
IsStreamOwner (inherited from InflaterInputStream) Get/set flag indicating ownership of underlying stream. When the flag is true Close will close the underlying stream also.
Length Returns the current size that can be read from the current entry if available
Password Optional password used for encryption when non-null
Position (inherited from InflaterInputStream) The current position within the stream. Throws a NotSupportedException when attempting to set the position

Public Instance Methods

BeginRead (inherited from Stream) Begins an asynchronous read operation.
BeginWrite (inherited from InflaterInputStream) Entry point to begin an asynchronous write. Always throws a NotSupportedException.
Close Closes the zip input stream
CloseEntry Closes the current zip entry and moves to the next one.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
EndRead (inherited from Stream) Waits for the pending asynchronous read to complete.
EndWrite (inherited from Stream) Ends an asynchronous write operation.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from InflaterInputStream) Flushes the baseInputStream
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetNextEntry Advances to the next entry in the archive
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Read Read a block of bytes from the stream.
ReadByte Reads a byte from the current zip entry.
Seek (inherited from InflaterInputStream) Sets the position within the current stream Always throws a NotSupportedException
SetLength (inherited from InflaterInputStream) Set the length of the current stream Always throws a NotSupportedException
Skip (inherited from InflaterInputStream) Skip specified number of bytes of uncompressed data
ToString (inherited from Object) Returns a String that represents the current Object.
Write (inherited from InflaterInputStream) Writes a sequence of bytes to stream and advances the current position This method always throws a NotSupportedException
WriteByte (inherited from InflaterInputStream) Writes one byte to the current stream and advances the current position Always throws a NotSupportedException

Protected Instance Fields

baseInputStream (inherited from InflaterInputStream) Base stream the inflater reads from.
csize (inherited from InflaterInputStream) The compressed size
inf (inherited from InflaterInputStream) Decompressor for this stream
inputBuffer (inherited from InflaterInputStream) Input buffer for this stream.

Protected Instance Methods

CreateWaitHandle (inherited from Stream) Allocates a WaitHandle object.
Fill (inherited from InflaterInputStream) Fills the buffer with more data to decompress.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
StopDecrypting (inherited from InflaterInputStream) Clear any cryptographic state.

See Also

ZipInputStream Class | ICSharpCode.SharpZipLib.Zip Namespace