code: func NewParser(rd io.Reader) *Parser {
  	p := Parser{}
  	p.rd = rd
  	p.lastByte = bufSize
  	p.buf = make([]byte, bufSize)
  	p.ev = &SimpleEventHandler{}
  	p.r = -1
  	p.fill()
  	return &p
  }
docs: // NewParser return a new Parser from a Reader