| 4016 | } |
| 4017 | |
| 4018 | func (p *TFile) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 4019 | if err := oprot.WriteFieldBegin(ctx, "file", thrift.STRING, 2); err != nil { |
| 4020 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:file: ", p), err) } |
| 4021 | if err := oprot.WriteBinary(ctx, p.File); err != nil { |
| 4022 | return thrift.PrependError(fmt.Sprintf("%T.file (2) field write error: ", p), err) } |
| 4023 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 4024 | return thrift.PrependError(fmt.Sprintf("%T write field end error 2:file: ", p), err) } |
| 4025 | return err |
| 4026 | } |
| 4027 | |
| 4028 | func (p *TFile) Equals(other *TFile) bool { |
| 4029 | if p == other { |