title: Java: File to Hex?
body: <p>I have a file in Java</p>
  
  <pre><code>FileInputStream in = null;
  try{    
  in = new FileInputStream("C:\\pic.bmp");
  }catch{}
  </code></pre>
  
  <p>I want to convert <em>pic.bmp</em> to an array of hex values so I can edit and save it as a modified version.</p>
  
  <p>Is there a java class to do this?</p>