[Haskell-cafe] fine control of bytestring streaming

Henning Thielemann lemming at henning-thielemann.de
Tue Jul 27 17:33:05 EDT 2010


On Tue, 27 Jul 2010, Alberto G. Corona wrote:

> The question is:  are there some way to control bytestring streaming?.
> Can It be done without the stream handler?

I think there is a function that converts a lazy ByteString to a list of 
strict ByteStrings, that should work without copying the chunk data 
around. On this chunk list you can do all kind of manipulations, like 
merging adjacent small chunks.


More information about the Haskell-Cafe mailing list