title: How to read a file from a certain offset in Java?
body: <p>Hey I'm trying to open a file and read just from an offset for a certain length! 
  I read this topic:
  <a href="https://stackoverflow.com/questions/2312756/in-java-how-to-read-from-a-file-a-specific-line-given-the-line-number">How to read a specific line using the specific line number from a file in Java?</a>
  in there it said that it's not to possible read a certain line without reading the lines before, but I'm wondering about bytes! </p>
  
  <pre><code>FileReader location = new FileReader(file);
  BufferedReader inputFile = new BufferedReader(location);
  // Read from bytes 1000 to 2000
  // Something like this
  inputFile.read(1000,2000);
  </code></pre>
  
  <p>Is it possible to read certain bytes from a known offset?</p>