Home » U++ Library support » U++ Core » Value and Serialize
Re: Value and Serialize [message #8890 is a reply to message #8868] |
Thu, 05 April 2007 16:12 |
mubeta
Messages: 77 Registered: October 2006
|
Member |
|
|
Yes, in fact I use the Vector<Value> for generic array of many data. Can be integer, double, string, etc.
Note that I found an "fast2 solution for my problem:
in Core/Value.cpp file, Value::Serialize(), after
if(s.IsLoading()) {
s / type;
I have added a new line:
if(type == 7) type = 8;
I fix my problem with this, but I don't know very well why in the past the serialization of the "Value" data, is stored as type "VALUE_V" and now, after compiling with irc2, the same type is stored as type "WSTRING_V".
I give a fast look around the Pack() functions in Core/Stream files, but without understand as well how the string of serialization is created, so I don't understant if the different number in the serialization result come from a bug in the "Value" or "Stream" code. Or, otherwise, in some my problems.
Mauro Bottizzo.
|
|
|
Goto Forum:
Current Time: Tue May 14 09:52:52 CEST 2024
Total time taken to generate the page: 0.02556 seconds
|