    /**
     * call-seq:
     *    parser.nread -> Integer
     *
     * Returns the amount of data processed so far during this processing cycle.  It is
     * set to 0 on initialize or reset calls and is incremented each time execute is called.
     */
    VALUE HttpParser_nread(VALUE self)
    {
      http_parser *http = NULL;
      DATA_GET(self, http_parser, http);

      return INT2FIX(http->nread);
    }