title: Java equivalent of Convert.FromBase64String Method
body: <p>Is there some Java equivalent of <a href="http://msdn.microsoft.com/en-us/library/system.convert.frombase64string.aspx" rel="nofollow noreferrer">Convert.FromBase64String</a> which </p>
  
  <blockquote>
    <p>Converts the specified string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array.</p>
  </blockquote>
  
  <p>I have tried:  </p>
  
  <ul>
  <li><a href="http://www.koders.com/java/fid36571AEBB9AA7C1E039DC88B866A85348F7B077E.aspx" rel="nofollow noreferrer">com.lutris.util.Convert.</a> but it gives me signed values  </li>
  <li><a href="http://snipt.net/tweakt/gwt-base64/" rel="nofollow noreferrer">encode to string</a> then <a href="http://www.lykkenborg.no/java/2005/03/how-do-i-read-unsigned-byte-in-java.html" rel="nofollow noreferrer">convert to unsigned</a> bytes, but then it gives me completely wrong output (wrong length and data).</li>
  </ul>
  
  <p>Will be grateful for any suggestions!</p>