| @@ 195-197 (lines=3) @@ | ||
| 192 | return $c; |
|
| 193 | } |
|
| 194 | // fixstr |
|
| 195 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 196 | return ($c & 0x1f) ? $this->read($c & 0x1f) : ''; |
|
| 197 | } |
|
| 198 | // negfixint |
|
| 199 | if ($c >= 0xe0) { |
|
| 200 | return $c - 0x100; |
|
| @@ 389-391 (lines=3) @@ | ||
| 386 | $c = \ord($this->buffer[$this->offset]); |
|
| 387 | ++$this->offset; |
|
| 388 | ||
| 389 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 390 | return ($c & 0x1f) ? $this->read($c & 0x1f) : ''; |
|
| 391 | } |
|
| 392 | if (0xd9 === $c) { |
|
| 393 | return $this->read($this->unpackUint8()); |
|
| 394 | } |
|
| @@ 681-683 (lines=3) @@ | ||
| 678 | return $c; |
|
| 679 | } |
|
| 680 | // fixstr |
|
| 681 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 682 | return ($c & 0x1f) ? $this->read($c & 0x1f) : ''; |
|
| 683 | } |
|
| 684 | // negfixint |
|
| 685 | if ($c >= 0xe0) { |
|
| 686 | return $c - 0x100; |
|