libarchive-3.0.2.0: Haskell interface to libarchive
Safe HaskellNone
LanguageHaskell2010

Codec.Archive.Internal.Unpack.Lazy

Synopsis

Documentation

readArchiveBSL :: ByteString -> Either ArchiveResult [Entry FilePath ByteString] Source #

Read an archive lazily. The format of the archive is automatically detected.

In general, this will be more efficient than readArchiveBS

Since: 1.0.4.0

readArchiveBSLAbs Source #

Arguments

:: Integral a 
=> (ArchivePtr -> a -> IO e)

Action to read contents from an archive entry

-> ByteString 
-> Either ArchiveResult [Entry FilePath e] 

unpackToDirLazy Source #

Arguments

:: FilePath

Directory to unpack in

-> ByteString

ByteString containing archive

-> ArchiveM () 

In general, this will be more efficient than unpackToDir

Since: 1.0.4.0

bslToArchiveAbs Source #

Arguments

:: (ArchivePtr -> IO ArchiveResult)

Action to set supported formats

-> ByteString 
-> ArchiveM ArchivePtr