I have a structure in "C" like this
typedef struct SKT_SubHeader_s
{
U32 subLength;
U8 subCode;
U8 subType;
U8 subResult;
U8 subCause;
U8 subSrcMSISDN[RBT_SUBSCRIBER_NO_LEN];
U8 subDstMSISDN[RBT_SUBSCRIBER_NO_LEN];
S8 subRsv[20];
S16 subSrvType;
S16 subSrvId;
S16 subSndType;
S16 subSndIdx;
S8 subSndCode[RBT_TONE_ID_LEN];
S8 subSndValue[RBT_TONE_ID_LEN];
S32 subMsgId;
U8 subBillFlag;
S16 subGroupOrder;
S8 subDate[9];
S8 subGroupName[31];
U8 subSpFlag;
S8 subBillCode[21];
S8 subReserve[30];
U32 bodyLength;
SKT_body_t bodyData[1];
}SKT_SubHeader_t;
I need to create a same type of a java class whose value i can access from outside and able to write in a file.