(&$key_type, &$val_type, &$size)
| 508 | } |
| 509 | |
| 510 | public function readMapBegin(&$key_type, &$val_type, &$size) |
| 511 | { |
| 512 | $result = $this->readVarint($size); |
| 513 | $types = 0; |
| 514 | if ($size > 0) { |
| 515 | $result += $this->readUByte($types); |
| 516 | } |
| 517 | $val_type = $this->getTType($types); |
| 518 | $key_type = $this->getTType($types >> 4); |
| 519 | $this->containers[] = $this->state; |
| 520 | $this->state = TCompactProtocol::STATE_CONTAINER_READ; |
| 521 | |
| 522 | return $result; |
| 523 | } |
| 524 | |
| 525 | public function readCollectionEnd() |
| 526 | { |
nothing calls this directly
no test coverage detected