| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.PyPI.Archive.Lzma
Description
Scoped XZ and legacy LZMA decoding under the same native dictionary limit.
Synopsis
- data LzmaFormat
- withLzmaChunks :: LzmaFormat -> (Int -> IO ()) -> [ByteString] -> (ConduitT () ByteString TarDecode () -> IO a) -> IO a
Documentation
data LzmaFormat Source #
ZIP's LZMA properties are converted to an alone-format header before decoding.
Constructors
| XzArchive | |
| ZipLzmaMember |
withLzmaChunks :: LzmaFormat -> (Int -> IO ()) -> [ByteString] -> (ConduitT () ByteString TarDecode () -> IO a) -> IO a Source #
Pay the enforced native memory limit before creation. The callback cannot retain the source beyond its scope.