title: i want to convert string and integer to unsigned byte
body: <p>In java 
  i have two variables</p>
  
  <pre><code>String string;
  int integerValue;
  </code></pre>
  
  <p>I want to convert these values to unsignedbyte
  that is 
  How to convert string to UnsignedByte
  and
  integer  to UnsignedByte</p>