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

Method writeString

lib/php/lib/Protocol/TCompactProtocol.php:365–374  ·  view source on GitHub ↗
($value)

Source from the content-addressed store, hash-verified

363 }
364
365 public function writeString($value)
366 {
367 $len = TStringFuncFactory::create()->strlen($value);
368 $result = $this->writeVarint($len);
369 if ($len) {
370 $this->trans_->write($value, $len);
371 }
372
373 return $result + $len;
374 }
375
376 public function writeUuid($uuid)
377 {

Callers 3

writeMessageBeginMethod · 0.95
testNakedFunction · 0.95
testFieldFunction · 0.95

Calls 4

writeVarintMethod · 0.95
writeMethod · 0.65
strlenMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected