Guest User

Untitled

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