| @@ 128-130 (lines=3) @@ | ||
| 125 | return $c; |
|
| 126 | } |
|
| 127 | // fixstr |
|
| 128 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 129 | return ($c & 0x1f) ? $this->unpackStrData($c & 0x1f) : ''; |
|
| 130 | } |
|
| 131 | // fixarray |
|
| 132 | if ($c >= 0x90 && $c <= 0x9f) { |
|
| 133 | return ($c & 0xf) ? $this->unpackArrayData($c & 0xf) : []; |
|
| @@ 294-296 (lines=3) @@ | ||
| 291 | $c = \ord($this->buffer[$this->offset]); |
|
| 292 | ++$this->offset; |
|
| 293 | ||
| 294 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 295 | return ($c & 0x1f) ? $this->unpackStrData($c & 0x1f) : ''; |
|
| 296 | } |
|
| 297 | if (0xd9 === $c) { |
|
| 298 | return $this->unpackStrData($this->unpackUint8()); |
|
| 299 | } |
|