code: public int read()
          throws IOException
      {
          int b=-1;
          if (_chunkSize<=0 && getChunkSize()<=0)
              return -1;
          b=_in.read();
          if (b<0)
          {
              _chunkSize=-1;
              throw new IOException(__UNEXPECTED_EOF);
          }
          _chunkSize--;
          return b;
      }
docs: /* ------------------------------------------------------------