Is it possible to write a binary part, is sorted as "(uct32 numbytes) (chuck)" through stream operators, through the property tree promoting Jason ?
To be more specific, say that the binary part of a std :: vector
floats, and my iostream serializer parses the number of bytes behind the actual data. Just encode it in a string (like using base 64) and store it.
You can automate it for your custom type by specifying boost :: property_tree :: translator_between
.
However, this customization does not facilitate / facilitate point streaming operation, so it will not be capable of (too many) large vectors.
Instead of using a BSN / Jason Library for the purpose. / P>
No comments:
Post a Comment