(ctx context.Context, value string)
| 243 | } |
| 244 | |
| 245 | func (p *TBinaryProtocol) WriteString(ctx context.Context, value string) error { |
| 246 | e := p.WriteI32(ctx, int32(len(value))) |
| 247 | if e != nil { |
| 248 | return e |
| 249 | } |
| 250 | _, err := p.trans.WriteString(value) |
| 251 | return NewTProtocolException(err) |
| 252 | } |
| 253 | |
| 254 | func (p *TBinaryProtocol) WriteBinary(ctx context.Context, value []byte) error { |
| 255 | e := p.WriteI32(ctx, int32(len(value))) |
no test coverage detected