title: Write a number to FileOutputStream after an offset
body: <p>I want to write a number to the <code>FileOutputStream</code> after a certain offset. What I have wrote is the following:</p>
  
  <pre><code>String t = Integer.toString(num);
  output.write(t.getBytes(), OFFSET, t.length());
  </code></pre>
  
  <p>Is this a good way to do this, or this there a better way?</p>