Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ByteBuffer returnVal=record.value();//returnVal is the byteBuffer which I receive
- unsigned char msg_type = returnVal[0]
- unsigned char msg_op_code = returnVal[1];
- unsigned short offset_to_xml_manifest = returnVal[2,3]
- unsigned short len_of_xml_manifest = returnVal[4,5]
- unsigned short offset_raw_data = returnVal[6,7]
- unsigned short len_of_raw_data = returnVal[8,9]
- unsigned long reserved = returnVal[10 to 13]
Add Comment
Please, Sign In to add comment