ReadStringWithDesc explains thrift data with desc and converts to simple string
(desc *TypeDescriptor, buf *[]byte, byteAsUint8 bool, disallowUnknown bool, base64Binary bool)
| 819 | |
| 820 | // ReadStringWithDesc explains thrift data with desc and converts to simple string |
| 821 | func (p *BinaryProtocol) ReadStringWithDesc(desc *TypeDescriptor, buf *[]byte, byteAsUint8 bool, disallowUnknown bool, base64Binary bool) error { |
| 822 | return p.EncodeText(desc, buf, byteAsUint8, disallowUnknown, base64Binary, true, false) |
| 823 | } |
| 824 | |
| 825 | // EncodeText reads thrift data with descriptor, and converts it to a specail text-protocol string: |
| 826 | // This protocol is similar to JSON, excepts its key (or field id) IS NOT QUOTED unless it is a string type: |
no test coverage detected