($name, $type, $seqid)
| 167 | } |
| 168 | |
| 169 | public function writeMessageBegin($name, $type, $seqid) |
| 170 | { |
| 171 | $written = |
| 172 | $this->writeUByte(TCompactProtocol::PROTOCOL_ID) + |
| 173 | $this->writeUByte(TCompactProtocol::VERSION | |
| 174 | ($type << TCompactProtocol::TYPE_SHIFT_AMOUNT)) + |
| 175 | $this->writeVarint($seqid) + |
| 176 | $this->writeString($name); |
| 177 | $this->state = TCompactProtocol::STATE_VALUE_WRITE; |
| 178 | |
| 179 | return $written; |
| 180 | } |
| 181 | |
| 182 | public function writeMessageEnd() |
| 183 | { |
nothing calls this directly
no test coverage detected