| @@ 162-164 (lines=3) @@ | ||
| 159 | return $c; |
|
| 160 | } |
|
| 161 | // fixstr |
|
| 162 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 163 | return ($c & 0x1f) ? $this->unpackStrData($c & 0x1f) : ''; |
|
| 164 | } |
|
| 165 | // negfixint |
|
| 166 | if ($c >= 0xe0) { |
|
| 167 | return $c - 0x100; |
|
| @@ 356-358 (lines=3) @@ | ||
| 353 | $c = \ord($this->buffer[$this->offset]); |
|
| 354 | ++$this->offset; |
|
| 355 | ||
| 356 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 357 | return ($c & 0x1f) ? $this->unpackStrData($c & 0x1f) : ''; |
|
| 358 | } |
|
| 359 | if (0xd9 === $c) { |
|
| 360 | return $this->unpackStrData($this->unpackUint8()); |
|
| 361 | } |
|