title: How to add two 8 bit data to form one 16 bit data?
body: <p>I am working on some bluetooth project which sends the value in the form of 8 bit data from two characteristics i.e 8 bit data from one characteristic uuid and one more 8 bit data from another characteristic uuid.</p>
  
  <p>I need to consider first 8 bit data is most significant byte and second 8 bit data is least significant byte.</p>
  
  <p>Now i need to do combine them into a 16 bit value and display the result.</p>
  
  <p>I am new to bit and bytes conversion in swift.</p>
  
  <p>Please help me out.</p>
  
  <p>Thanks in advance.</p>