TarArchive.FromZstandard
Contents
[
Hide
]FromZstandard(Stream)
Extracts supplied Zstandard archive and composes TarArchive
from extracted data.
Important: Zstandard archive is fully extracted within this method, its content is kept internally. Beware of memory consumption.
public static TarArchive FromZstandard(Stream source)
Parameter | Type | Description |
---|---|---|
source | Stream | The source of the archive. |
Return Value
An instance of TarArchive
Exceptions
exception | condition |
---|---|
IOException | Zstandard stream is corrupted or not readable. |
InvalidDataException | Data is corrupted. |
See Also
- class TarArchive
- namespace Aspose.Zip.Tar
- assembly Aspose.Zip
FromZstandard(string)
Extracts supplied Zstandard archive and composes TarArchive
from extracted data.
Important: Zstandard archive is fully extracted within this method, its content is kept internally. Beware of memory consumption.
public static TarArchive FromZstandard(string path)
Parameter | Type | Description |
---|---|---|
path | String | The path to the archive file. |
Return Value
An instance of TarArchive
Exceptions
exception | condition |
---|---|
IOException | Zstandard stream is corrupted or not readable. |
InvalidDataException | Data is corrupted. |
See Also
- class TarArchive
- namespace Aspose.Zip.Tar
- assembly Aspose.Zip