Safe Haskell | None |
---|---|
Language | Haskell2010 |
Bio.Util.MMap
Documentation
mmapFile :: FilePath -> IO (Int, ForeignPtr a) Source #
Maps a whole file into memory, returns the size in bytes and a
ForeignPtr
to the contents.
biohazard-2.1: bioinformatics support library
Safe Haskell | None |
---|---|
Language | Haskell2010 |
Bio.Util.MMap
mmapFile :: FilePath -> IO (Int, ForeignPtr a) Source #
Maps a whole file into memory, returns the size in bytes and a
ForeignPtr
to the contents.