(b []byte)
| 1322 | } |
| 1323 | |
| 1324 | func (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. |
| 1333 | func (p *TSimpleJSONProtocol) SetTConfiguration(conf *TConfiguration) { |
no test coverage detected