I have structure as follows:
struct data {int no; string name; int id};
I am converting this structure into bytearray. I need to convert this back into structure format. For that I need to convert first members into integer and string. How to convert bytearray into structure ?