lazy ByteStrings: toChunks

Einar Karttunen ekarttun at
Wed Jan 24 15:13:47 EST 2007

On 24.01 11:58, Ross Paterson wrote:
> Can you point at some examples?  I had a quick look, but couldn't find
> any uses of toChunks not preceded by concat.  I would expect most of those
> examples to operate on substrings that might span chunk boundaries.

I am using toChunks for encryption and it is a very valuable tool.
Basically the task is "process each chunk of this bytestring which
might be >4gb in total".

- Einar Karttunen

More information about the Libraries mailing list