| ||||||||||
| ||||||||||
Description | ||||||||||
Enumerator-based IO | ||||||||||
Synopsis | ||||||||||
| ||||||||||
Documentation | ||||||||||
enumHandle | ||||||||||
| ||||||||||
enumFile :: FilePath -> Enumerator ByteString IO b | ||||||||||
Opens a file path in binary mode, and passes the handle to enumHandle. The file will be closed when the Iteratee finishes. | ||||||||||
iterHandle :: MonadIO m => Handle -> Iteratee ByteString m () | ||||||||||
Read bytes from a stream and write them to a handle. If an exception occurs during file IO, enumeration will stop and Error will be returned. The handle should be opened with no encoding, and in WriteMode or ReadWriteMode. | ||||||||||
Produced by Haddock version 2.7.2 |