8e0ed2536456a4a3d19979eab37a645066c4c714042ee362ed83164016c67d3b
Created: 2019-10-12 06:53:48.403379 UTC
Size: 945
Preview (limited to 512 bytes)
"{-# LANGUAGE CPP #-}\n-- | The standard @openFile@ call on Windows causing problematic file locking\n-- in some cases. This module provides a cross-platform file reading API\n-- without the file locking problems on Windows.\n--\n-- This module /always/ opens files in binary mode.\n--\n-- @readChunk@ will return an empty @ByteString@ on EOF.\nmodule Data.Streaming.FileRead\n ( ReadHandle\n , openFile\n , closeFile\n , readChunk\n ) where\n\n#if WINDOWS\n\nimport System.Win32File\n\n#else\n\nimport qualified System"
A service provided by FP Complete