if (filepos == end)
if (bufferOffset + pos >= end)
    public int read() throws IOException    {			if (filepos == end)				return -1;      synchronized (raf)	{				raf.seek(filepos++);				return raf.read();			}		}