
28 Apr
2011
28 Apr
'11
5:36 p.m.
You might still prefer to use binary if your goal is to stream parsed data. Using cereal, this takes a bit more work. --trevor On 04/27/2011 12:17 AM, Vo Minh Thu wrote:
2011/4/26 Trevor Elliott
: Hot on the heels of the last release, cereal-0.3.3.0 [1] adds support for parsing and rendering lazy ByteStrings. Most running functions in Data.Serialize.Get and Data.Serialize.Put now have lazy analogues, and Data.Serialize has gained encodeLazy and decodeLazy.
This new functionality was made possible by the incremental parsing support added in cereal-0.3.1.0 by Lemmih.
Hi,
For lazy ByteStrings, what would be the reason to prefer cereal or binary now?
Thanks, Thu