On 10/08/15 15:12, wobbles wrote:

Trouble with that is what if there's some funny formats some data is in?
Like I described above a string which starts with a number and continues
for that number of bytes.
What if it's a string that goes on until you hit a '\0' ? A
serialisation library like Orange couldnt do that, as it's merely for
(de)serialising D objects, I think?

Orange can handle D strings. If it sees something like char* it will serialize it as a pointer to a char, not a C string. Orange supports custom archivers if you need the data in some special format.

--
/Jacob Carlborg

Reply via email to