iOS Question How to decode Serializator.ConvertObjectToBytes(Obj) in Objective C

paris7162

Member
Licensed User
Longtime User
I am sending an Object from B4A using Serializator.ConvertObjectToBytes(Obj) to xCode(objective c). I need a way to decode this object to put the data in an Array or Map(dictionary).

I can get the bytes out, however, I have no idea how to get usable information on other end.

decode the base64string to data(byte[])==>
{length = 122, bytes = 0x78c29cc2 9360c294 60606048 32c389c3 ... 640300c2 9f161446 } ,{length = 84, bytes = 0x789c9360 94606060 4832c9d2 4bad48cc ... 05640300 9f161446 }
 

hatzisn

Well-Known Member
Licensed User
Longtime User
Do you use B4XSerializator or B4RSerializator. Both are easy but If you use the second then it is cross platform (Even B4R). Even if the name is B4RSerializator it can be used in all IDEs. Have a look here:

 
Last edited:
Upvote 0

paris7162

Member
Licensed User
Longtime User
I think I can make this work. I have a java to c++ converter. And I can use c++ classes with objective c. Thanks Erel!
 
Upvote 0
Top