code: func (t *Tr) toBytes() []byte {
  	buf, err := t.MarshalMsg(nil)
  	if err != nil {
  		panic(`unable to encode tree`)
  	}
  
  	return buf
  }
docs: // toBytes encodes this tree into a byte array.  Panics if unable
  // as this error has to be fixed in code.