code: public ByteBuffer get(long pos, byte[] buffer) throws IOException {
                  int windowOffset = getWindowOffset(pos, buffer.length);
                  this.buffer.position(windowOffset);
                  return this.buffer.get(buffer);
          }
docs: Gets the byte[] value at the specified position
  
  @param pos
  @param buffer
  @return
  @throws java.io.IOException