code: public synchronized int read() throws IOException
      {
          int b;
          if (_pos >=_avail)
              fill();
          if (_pos >=_avail)
              b=-1;
          else
              b=_buf[_pos++]&255;
          
          return b;
      }
docs: /* ------------------------------------------------------------