ZipArchive.Read(Stream, Encoding) Method
Static method that creates a ZipArchive instance from the specified stream containing zipped data.
Namespace: DevExpress.Compression
Assembly: DevExpress.Docs.v24.1.dll
NuGet Package: DevExpress.Document.Processor
Declaration
Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A Stream object that is the stream containing archive data. |
encoding | Encoding | The Encoding object that specifies character encoding for the zip item names. |
Returns
Type | Description |
---|---|
ZipArchive | A ZipArchive instance that is the zip archive for modification or extraction. |
Remarks
Use the Read method to open the archive for modification or extraction. To save the archive, use the corresponding ZipArchive.Save method override.
The Read method allows you to specify character encoding to correctly read item names.
See Also