Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » strange behaviour of Vector serialization (unexpectable data serialized)
Re: strange behaviour of Vector serialization [message #54100 is a reply to message #54097] Mon, 01 June 2020 01:03 Go to previous message
michael79 is currently offline  michael79
Messages: 4
Registered: May 2020
Junior Member
I also thought that 7 is the number of array elements. I just didn't know that this amount should also be serialized.

In fact, when the number of elements was 1, 2 appeared instead of 7.

7 appeared when there were 6 elements.

In General, I assumed that for Vector only array elements should be serialized and nothing else, so adding elements to the stream one at a time looks as a workaround, although adding elements within a loop is not a problem.

At the moment, I have not found information about how the Vector should be serialized.

Thanks for the answer.
 
Read Message
Read Message
Read Message
Previous Topic: serialization
Next Topic: [SOLVED] ParseJSON weird behaviour
Goto Forum:
  


Current Time: Wed May 08 19:03:57 CEST 2024

Total time taken to generate the page: 0.02495 seconds