title: Is there any data lost in Java if I convert Binary data to a String and back?
body: <p>I have a messaging class in my java program that only uses <code>String</code> values and never any <code>binary</code> data.</p>
  
  <p>I want to send a <code>rpm</code> file, so basically <code>binary</code> data through this messaging class to a <code>receiver</code>.</p>
  
  <p>I know this can be done by converting the <code>binary</code> data to a <code>String</code> on the <code>messaging</code> end and then back to a <code>binary</code> file on the <code>receiving</code> end.</p>
  
  <p>However my question is, will any data be lost between converting my <code>binary</code> file to a <code>String</code> then back to <code>binary data</code> to save as a <code>binary</code> file, or will the data be retained through all conversions?</p>