24 May
                
                    2007
                
            
            
                24 May
                
                '07
                
            
            
            
        
    
                5:03 a.m.
            
        leaveye.guo:
to Ketil :
Tring openBinaryFile, I notice that I cannot make one usable buffer, just because I can not find one function to "malloc" a memory or just get one "change-able" buffer.
:-$
No 'malloc' here in Haskell land: that's done automatically. Recall that 'getContents' will read your opened file into a [Char]. (or use Data.ByteString to get a stream of Word8). What are you trying to do? -- Don