MobileForms Toolkit Documentation

ZipStream Methods

The methods of the ZipStream class are listed below. For a complete list of ZipStream class members, see the ZipStream Members topic.

Public Instance Methods

BeginRead Begins an asynchronous read.
BeginWrite Begins an asynchronous write.
Close Closes the zipper and releases any resources associated with the current stream.
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.
Dispose (inherited from Stream)Overloaded. Releases all resources used by the Stream.
EndRead Waits for the pending asynchronous read to complete.
EndWrite Ends an asynchronous write, blocking until the I/O operation has completed.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Flush Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is 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.
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 Decompress a block of bytes from the stream and writes the data in a given buffer.
ReadByte (inherited from Stream)Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
Seek Not supported. This is non-seekable stream.
SetLength Sets the length of this stream to the given value.
ToString (inherited from Object)Returns a String that represents the current Object.
Write Compress a block of bytes to this stream using data from a buffer.
WriteByte (inherited from Stream)Writes a byte to the current position in the stream and advances the position within the stream by one byte.

Protected Instance Methods

CreateWaitHandle (inherited from Stream)Obsolete. Allocates a WaitHandle object.
Dispose (inherited from Stream)Overloaded. Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
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 MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.
OnClosed Raises the Closed event.

See Also

ZipStream Class | Resco.IO.Zip Namespace