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

Method readString

lib/php/lib/Protocol/TCompactProtocol.php:589–599  ·  view source on GitHub ↗
(&$value)

Source from the content-addressed store, hash-verified

587 }
588
589 public function readString(&$value)
590 {
591 $result = $this->readVarint($len);
592 if ($len) {
593 $value = $this->trans_->readAll($len);
594 } else {
595 $value = '';
596 }
597
598 return $result + $len;
599 }
600
601 public function readUuid(&$value)
602 {

Callers 3

readMessageBeginMethod · 0.95
testNakedFunction · 0.95
testFieldFunction · 0.95

Calls 2

readVarintMethod · 0.95
readAllMethod · 0.45

Tested by

no test coverage detected