I need to exchange an object between Objective-C client and Java Server. I ask my friends how it can implement, and he answer me that read byte is the way to go. But how can it implements? How can I know the variable length, and related information? Thanks.
I need to exchange an object between Objective-C client and Java Server. I ask
Share
You need some sort of serialization format. You could use a text-based format such as XML or JSON, decoding it appropriately (whether by hand or not). Alternatively, there are various portable binary-based serialization formats available, such as Protocol Buffers which has an Objective-C port.