title: append bytes to string in java
body: <p>I have to deal with ascii structured file, I need to put these two constant bytes to the end of every line so that I can respect the file structure that was gave me:</p>
  
  <pre><code>private final static int ENDRECORD = 0x0d;
  private final static int ENDLINE = 0x0a;
  </code></pre>
  
  <p>I don't know if it's the classic "\n", is there a way I can put these two variables at the end of a string?
  Like:</p>
  
  <blockquote>
    <p>String line = line + ENDRECORD + ENDLINE; //I now this is wrong</p>
  </blockquote>