code: public int available()
          throws IOException
      {
          int len = _in.available();
          if (len<=_chunkSize || _chunkSize==0)
              return len;
          return _chunkSize;
      }
docs: /* ------------------------------------------------------------