title: Converting a large binary string to hexadecimal
body: <p>I have a binary string:</p>
  
  <pre><code>1010010111100101100010101010011011010001111100000010101000000000010000000111110111100"
  </code></pre>
  
  <p>How can I convert it to a hex string?</p>
  
  <p>I tried with the wrapper classes <code>Long</code> and <code>Integer</code>, but it didn’t work for me, throwing a <code>NumberFormatException</code>.</p>