Dart.PowerTCP.Zip Namespace > Archive Class : Write Method |
Exception | Description |
---|---|
System.ArgumentNullException | Thrown when the buffer is null. |
System.ArgumentOutOfRangeException | Thrown when the offset is less than zero or when count is less than or equal to zero. |
System.ArgumentException | Thrown when the (offset + count) > buffer.Length. |
This method allows the user to uncompress an Archive "on the fly" without using intermediate disk storage to buffer the entire zip archive first. Files are restored to the location specifed by the Archive.DestinationDirectory. This feature is useful for streaming applications where the zip file must be processed buffer by buffer.
Gzip files are not supported by this streaming technique. Archive.Unzip must be used to inflate Gzip-compressed files.