SWMMoutGetMB-0.1.1.1: A parser for SWMM 5 binary .OUT files

Safe HaskellNone
LanguageHaskell98

Water.SWMM

Synopsis

Documentation

getInt :: Get Int Source

Get a 4 byte integer

extractSWMMParams :: FilePath -> IO (SWMMParams, ByteString) Source

Extract the SWMM parameters from the file, and return the remainder of the binary file (containing only the result data now) as a lazy bytestring. If the bytestring is small, it can be forced and held in memory, otherwise it needs to be streamed strictly.