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

Method writeString

lib/php/lib/Protocol/TBinaryProtocol.php:212–221  ·  view source on GitHub ↗
($value)

Source from the content-addressed store, hash-verified

210 }
211
212 public function writeString($value)
213 {
214 $len = TStringFuncFactory::create()->strlen($value);
215 $result = $this->writeI32($len);
216 if ($len) {
217 $this->trans_->write($value, $len);
218 }
219
220 return $result + $len;
221 }
222
223 public function writeUuid($uuid)
224 {

Callers 4

writeMessageBeginMethod · 0.95
testNakedFunction · 0.95
testFieldFunction · 0.95
writeMessageBeginMethod · 0.95

Calls 4

writeI32Method · 0.95
writeMethod · 0.65
strlenMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected