java - mysql blob type reading problem!
淡淡烟草味
淡淡烟草味 2017-06-24 09:41:30
0
1
1023

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?

淡淡烟草味
淡淡烟草味

reply all(1)
阿神

C++ and Java need to use the same serialization protocol, otherwise they cannot be deserialized. It's not a structure or anything.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!