| @@ 134-136 (lines=3) @@ | ||
| 131 | return $c; |
|
| 132 | } |
|
| 133 | // fixstr |
|
| 134 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 135 | return ($c & 0x1f) ? $this->unpackStrData($c & 0x1f) : ''; |
|
| 136 | } |
|
| 137 | // fixarray |
|
| 138 | if ($c >= 0x90 && $c <= 0x9f) { |
|
| 139 | return ($c & 0xf) ? $this->unpackArrayData($c & 0xf) : []; |
|
| @@ 300-302 (lines=3) @@ | ||
| 297 | $c = \ord($this->buffer[$this->offset]); |
|
| 298 | ++$this->offset; |
|
| 299 | ||
| 300 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 301 | return ($c & 0x1f) ? $this->unpackStrData($c & 0x1f) : ''; |
|
| 302 | } |
|
| 303 | if (0xd9 === $c) { |
|
| 304 | return $this->unpackStrData($this->unpackUint8()); |
|
| 305 | } |
|