
Thanks for your suggestion, and sorry for the subject. I have read the introduction of Data.ByteString, it is helpful. And also, there is one problem left. When i read a binary file, data is truncated at the charactor EOF. Which function could do this work correctly ? ------------------ L.Guo 2007-05-24 ------------------------------------------------------------- 发件人:Donald Bruce Stewart 发送日期:2007-05-24 14:03:27 收件人:L.Guo 抄送:MailList Haskell-Cafe 主题:Re: [Haskell-cafe] (no subject) leaveye.guo:
Hi MailList Haskell-Cafe:
Till now, which module / package / lib can i use to access binary file ? And is this easy to use in GHC ?
Data.Binary? Or perhaps just Data.ByteString, available on hackage, http://hackage.haskell.org/cgi-bin/hackage-scripts/package/binary-0.3 or in base. -- Don