MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / ReadField2

Method ReadField2

common/common.go:3985–3992  ·  view source on GitHub ↗
(ctx context.Context, iprot thrift.TProtocol)

Source from the content-addressed store, hash-verified

3983}
3984
3985func (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
3994func (p *TFile) Write(ctx context.Context, oprot thrift.TProtocol) error {
3995 if err := oprot.WriteStructBegin(ctx, "TFile"); err != nil {

Callers 1

ReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected