title: Best way to get an InputStream for the second half of a file?
body: <p>I need an <code>InputStream</code> to read from some nonzero offset in a <code>File</code>.  Which is the more performant way to get and position the stream,</p>
  
  <pre><code>InputStream in = new FileInputStream(file);
  in.skip(n);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>RandomAccessFile raf = new RandomAccessFile(file, "r");
  InputStream in = Channels.newInputStream(raf.getChannel().position(n));
  </code></pre>
  
  <p>Or is there a better way that you'd suggest?</p>
  
  <p>Only one stream will be pulled from the file, so there's no benefit from reusing the <code>RandomAccessFile</code>.</p>