The type saved in the database is a blob type, written in c. I don’t know if it is any different from Java storage; now the problem is that it has a structure when it is saved:
The structure is:
First two integers, representing 101 and the number of variables respectively, and then an integer and a string, for example: 101 100 145 "Weather" 168 "Beautiful", something like this is very painful. . . I don’t know how to get it. I tried it with the stream and it was all garbled. I asked the server and they said they have to intercept the bytes according to the structure. I don’t know where to start. Can anyone give me some advice?
C++ and Java need to use the same serialization protocol, otherwise they cannot be deserialized. It's not a structure or anything.