func (p *ThriftFlumeEvent) ReadField2(iprot thrift.TProtocol) error { if v, err := iprot.ReadBinary(); err != nil { return fmt.Errorf("error reading field 2: %s", err) } else { p.Body = v } return nil }