What about the Data.Binary module from the Hackage database? I can call
C, no problem, but I hate to do something that's already been done.
On Wed, 2007-06-20 at 12:02 +1000, Donald Bruce Stewart wrote:
jeff:
I've read the documentation for some of the marshalling packages out
there for
Hello Jefferson,
Wednesday, June 20, 2007, 12:20:28 AM, you wrote:
4-byte int (count),
(count) 2-byte unsigned shorts,
(count) 4-byte floats
using my Streams package ( http://haskell.org/haskellwiki/Library/AltBinary ):
import Data.AltBinary
readall recordcount h = do
replicateM
On Wed, 2007-06-20 at 09:54 -0400, Jefferson Heard wrote:
What about the Data.Binary module from the Hackage database? I can call
C, no problem, but I hate to do something that's already been done.
The current version of the binary package does everything you want
*except* for reading ieee
I've read the documentation for some of the marshalling packages out
there for Haskell, and I'm left confused as to which one I should be
using and how to actually do what I want to do. I have a file, a
little over 2gb, of packed data in the format
(recordcount) records of:
4-byte int (count),
jeff:
I've read the documentation for some of the marshalling packages out
there for Haskell, and I'm left confused as to which one I should be
using and how to actually do what I want to do. I have a file, a
little over 2gb, of packed data in the format
(recordcount) records of: