| @@ 146-148 (lines=3) @@ | ||
| 143 | return $c; |
|
| 144 | } |
|
| 145 | // fixstr |
|
| 146 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 147 | return ($c & 0x1f) ? $this->unpackStrData($c & 0x1f) : ''; |
|
| 148 | } |
|
| 149 | // negfixint |
|
| 150 | if ($c >= 0xe0) { |
|
| 151 | return $c - 0x100; |
|
| @@ 340-342 (lines=3) @@ | ||
| 337 | $c = \ord($this->buffer[$this->offset]); |
|
| 338 | ++$this->offset; |
|
| 339 | ||
| 340 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 341 | return ($c & 0x1f) ? $this->unpackStrData($c & 0x1f) : ''; |
|
| 342 | } |
|
| 343 | if (0xd9 === $c) { |
|
| 344 | return $this->unpackStrData($this->unpackUint8()); |
|
| 345 | } |
|