Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The standard openFile
call on Windows causing problematic file locking
in some cases. This module provides a cross-platform file reading API
without the file locking problems on Windows.
This module always opens files in binary mode.
readChunk
will return an empty ByteString
on EOF.
Documentation
data ReadHandle Source #
closeFile :: ReadHandle -> IO () Source #
readChunk :: ReadHandle -> IO ByteString Source #