WriteStringWithDesc explain simple string val with desc and convert to thrift data
(val string, desc *TypeDescriptor, disallowUnknown bool, base64Binary bool)
| 1167 | |
| 1168 | // WriteStringWithDesc explain simple string val with desc and convert to thrift data |
| 1169 | func (p *BinaryProtocol) WriteStringWithDesc(val string, desc *TypeDescriptor, disallowUnknown bool, base64Binary bool) error { |
| 1170 | return p.DecodeText(val, desc, disallowUnknown, base64Binary, true, false) |
| 1171 | } |
| 1172 | |
| 1173 | // DecodeText decode special text-encoded val with desc and write it into buffer |
| 1174 | // The encoding of val should be compatible with `EncodeText()` |
no test coverage detected