public int read() throws IOException
public int read(char[] buf, int offset, int count) throws IOException
  public int read() throws IOException  {    synchronized (lock)      {	checkStatus();	if (pos >= limit && fill () <= 0)	  return -1;	return buffer[pos++];      }  }