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

Method readStringBody

lib/go/thrift/binary_protocol.go:539–542  ·  view source on GitHub ↗
(size int32)

Source from the content-addressed store, hash-verified

537}
538
539func (p *TBinaryProtocol) readStringBody(size int32) (value string, err error) {
540 buf, err := safeReadBytes(size, p.trans)
541 return string(buf), NewTProtocolException(err)
542}
543
544func (p *TBinaryProtocol) SetTConfiguration(conf *TConfiguration) {
545 PropagateTConfiguration(p.trans, conf)

Callers 2

ReadMessageBeginMethod · 0.95
ReadStringMethod · 0.95

Calls 3

safeReadBytesFunction · 0.85
stringFunction · 0.85
NewTProtocolExceptionFunction · 0.85

Tested by

no test coverage detected