<p>You should look up bytestring and friends on hackage.</p>
<p>If it is something quite simple you can use the lazy variants and provided that you don't try to hold onto the input you should get nice constant space without trying too hard.</p>
<p>I recommend the early chapters on IO in real world haskell if you want more info on lazy IO.</p>
<div class="gmail_quote">On 24 Sep 2011 03:06, "anyzhen" <<a href="mailto:jiangzhen3s@qq.com">jiangzhen3s@qq.com</a>> wrote:<br type="attribution">> consider this :<br>> i want load a 4G file(or some bigger file) ,and the process data operation just like 010 to 101( XOR bits ) , is it some efficient function down it ?<br>
> such hPutStr hPutChar is Char layer , is exist bit layer operations?<br>> <br>> <br>> thanks for any help <br>> <br>> <br>> <a href="mailto:jiangzhen3s@qq.com">jiangzhen3s@qq.com</a><br></div>