AppleArchive.Save
Contents
[
Hide
]Save(Stream)
Saves archive to the stream provided.
public void Save(Stream output)
| Parameter | Type | Description |
|---|---|---|
| output | Stream | Destination stream. |
Exceptions
| exception | condition |
|---|---|
| ObjectDisposedException | The archive has been disposed. |
| ArgumentNullException | output is null. |
| ArgumentException | output is not writable. |
| ArgumentOutOfRangeException | Configured LZ4 block size is not positive. |
| NotSupportedException | Compression settings are missing or unsupported, direct composition uses a non-seekable stream, or entry/archive size exceeds current Apple Archive limits. |
Remarks
output must be writable. Some compression settings, such as LZ4, also require a seekable stream.
See Also
- class AppleArchive
- namespace Aspose.Zip.Apple
- assembly Aspose.Zip
Save(string)
Saves archive to a destination file provided.
public void Save(string destinationFileName)
| Parameter | Type | Description |
|---|---|---|
| destinationFileName | String | The path of the archive to be created. |
Exceptions
| exception | condition |
|---|---|
| ObjectDisposedException | The archive has been disposed. |
| ArgumentException | destinationFileName is invalid. |
| ArgumentNullException | destinationFileName is null. |
| ArgumentOutOfRangeException | Configured LZ4 block size is not positive. |
| NotSupportedException | Compression settings are missing or unsupported, direct composition uses a non-seekable stream, or entry/archive size exceeds current Apple Archive limits. |
See Also
- class AppleArchive
- namespace Aspose.Zip.Apple
- assembly Aspose.Zip