Binary file r/w example

13 Apr
2005
13 Apr
'05
2:52 a.m.
Hi, does anyone have a small but complete example on how to read a (portion of) a binary file, like r/w the header of a Midi-file? It seems like readBinaryFile (ans writeBinaryFile) is deprecated and I should use hGetBuf (and hPutBuf), but what is this Ptr thing? How would I implement readBinaryFile using hGetBuf? Best/ Bo Herlin
7345
Age (days ago)
7345
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bo Herlin