Contents

decompressionStream(readingFrom:flags:threadCount:)

Creates a decompression sequential input stream.

Declaration

static func decompressionStream(readingFrom compressedStream: ArchiveByteStream, flags: ArchiveFlags = [], threadCount: Int = 0) -> ArchiveByteStream?

Parameters

  • compressedStream:

    An input stream that provides compressed data, the operation only calls Read(into:) and Read(into:atoffset:).

  • flags:

    Flags that control the behavior of the operation.

  • threadCount:

    The number of worker threads that the operation uses, set to 0 for default.

Return Value

A new archive byte stream.

See Also

Decompressing Data