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

Method readMapBegin

lib/php/lib/Protocol/TJSONProtocol.php:649–656  ·  view source on GitHub ↗
(&$keyType, &$valType, &$size)

Source from the content-addressed store, hash-verified

647 }
648
649 public function readMapBegin(&$keyType, &$valType, &$size)
650 {
651 $this->readJSONArrayStart();
652 $keyType = $this->getTypeIDForTypeName($this->readJSONString(false));
653 $valType = $this->getTypeIDForTypeName($this->readJSONString(false));
654 $size = $this->readJSONInteger();
655 $this->readJSONObjectStart();
656 }
657
658 public function readMapEnd()
659 {

Callers

nothing calls this directly

Calls 5

readJSONArrayStartMethod · 0.95
getTypeIDForTypeNameMethod · 0.95
readJSONStringMethod · 0.95
readJSONIntegerMethod · 0.95
readJSONObjectStartMethod · 0.95

Tested by

no test coverage detected