($b)
| 194 | } |
| 195 | |
| 196 | public function readJSONSyntaxChar($b) |
| 197 | { |
| 198 | $ch = $this->reader_->read(); |
| 199 | |
| 200 | if (substr($ch, 0, 1) != $b) { |
| 201 | throw new TProtocolException("Unexpected character: " . $ch, TProtocolException::INVALID_DATA); |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | private function writeJSONString($b) |
| 206 | { |
no test coverage detected