Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- readArchiveBSL :: ByteString -> Either ArchiveResult [Entry FilePath ByteString]
- readArchiveBSLAbs :: Integral a => (ArchivePtr -> a -> IO e) -> ByteString -> Either ArchiveResult [Entry FilePath e]
- unpackToDirLazy :: FilePath -> ByteString -> ArchiveM ()
- bslToArchive :: ByteString -> ArchiveM ArchivePtr
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 :: Integral a => (ArchivePtr -> a -> IO e) -> ByteString -> Either ArchiveResult [Entry FilePath e] Source #
:: FilePath | Directory to unpack in |
-> ByteString |
|
-> ArchiveM () |
In general, this will be more efficient than unpackToDir
Since: 1.0.4.0
bslToArchive :: ByteString -> ArchiveM ArchivePtr Source #
Lazily stream a ByteString