MCPcopy Create free account
hub / github.com/apache/thrift / write

Method write

lib/go/thrift/simple_json_protocol.go:1324–1330  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

1322}
1323
1324func (p *TSimpleJSONProtocol) write(b []byte) (int, error) {
1325 n, err := p.writer.Write(b)
1326 if err != nil {
1327 p.writer.Reset(p.trans) // THRIFT-3735
1328 }
1329 return n, err
1330}
1331
1332// SetTConfiguration implements TConfigurationSetter for propagation.
1333func (p *TSimpleJSONProtocol) SetTConfiguration(conf *TConfiguration) {

Callers 8

WriteBinaryMethod · 0.95
OutputPreValueMethod · 0.95
OutputNullMethod · 0.95
OutputStringDataMethod · 0.95
OutputObjectBeginMethod · 0.95
OutputObjectEndMethod · 0.95
OutputListBeginMethod · 0.95
OutputListEndMethod · 0.95

Calls 2

WriteMethod · 0.65
ResetMethod · 0.65

Tested by

no test coverage detected