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

Method readFieldBegin

lib/php/lib/Protocol/TBinaryProtocol.php:279–290  ·  view source on GitHub ↗
(&$name, &$fieldType, &$fieldId)

Source from the content-addressed store, hash-verified

277 }
278
279 public function readFieldBegin(&$name, &$fieldType, &$fieldId)
280 {
281 $result = $this->readByte($fieldType);
282 if ($fieldType == TType::STOP) {
283 $fieldId = 0;
284
285 return $result;
286 }
287 $result += $this->readI16($fieldId);
288
289 return $result;
290 }
291
292 public function readFieldEnd()
293 {

Callers

nothing calls this directly

Calls 2

readByteMethod · 0.95
readI16Method · 0.95

Tested by

no test coverage detected