ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.PyPI.Archive.BZip

Description

BZIP2 decoding with one resource scope per compressed member.

Synopsis

Documentation

withBzipChunks :: Int -> (Int -> IO ()) -> ByteString -> (ConduitT () ByteString TarDecode () -> IO a) -> IO a Source #

Charge each validated block-size declaration before native allocation. Refusal closes every registered resource.