(ctx context.Context, iprot thrift.TProtocol)
| 3983 | } |
| 3984 | |
| 3985 | func (p *TFile) ReadField2(ctx context.Context, iprot thrift.TProtocol) error { |
| 3986 | if v, err := iprot.ReadBinary(ctx); err != nil { |
| 3987 | return thrift.PrependError("error reading field 2: ", err) |
| 3988 | } else { |
| 3989 | p.File = v |
| 3990 | } |
| 3991 | return nil |
| 3992 | } |
| 3993 | |
| 3994 | func (p *TFile) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 3995 | if err := oprot.WriteStructBegin(ctx, "TFile"); err != nil { |