func (e *ClickEvent) read(r *parcel.Reader) error { id, err := r.ReadInt32() if err != nil { return err } e.Id = int(id) return nil }
func (e *LifecycleEvent) read(r *parcel.Reader) error { v, err := r.ReadInt32() if err != nil { return err } e.IsActivity = (v != 0) e.PkgName, err = r.ReadString() if err != nil { return err } e.Event, err = r.ReadString() if err != nil { return err } return nil }