TarArchive.FromZ

FromZ(Stream)

Extracts supplied Z format archive and composes TarArchive from extracted data.

Important: Z archive is fully extracted within this method, its content is kept internally. Beware of memory consumption.

public static TarArchive FromZ(Stream source)
ParameterTypeDescription
sourceStreamThe source of the archive.

Return Value

An instance of TarArchive

Remarks

Tar archive provides facility to extract arbitrary record, so it has to operate seekable stream under the hood.

See Also


FromZ(string)

Extracts supplied Z format archive and composes TarArchive from extracted data.

Important: Z archive is fully extracted within this method, its content is kept internally. Beware of memory consumption.

public static TarArchive FromZ(string path)
ParameterTypeDescription
pathStringThe path to the archive file.

Return Value

An instance of TarArchive

Remarks

Tar archive provides facility to extract arbitrary record, so it has to operate seekable stream under the hood.

See Also