j
k
j a
j l
I wrote:
import Data.Binary.Get ... n <- fmap (runGet word32be) $ L.hGet h 4 theString <- L.hGet h n
Oops, you also need to convert from Word32 to Int: n <- fmap (fromIntegral . runGet word32be) $ L.hGet h 4 Regards, Yitz
Back to the thread
Back to the list