| @@ 121-123 (lines=3) @@ | ||
| 118 | return $c; |
|
| 119 | } |
|
| 120 | // fixstr |
|
| 121 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 122 | return ($c & 0x1f) ? $this->unpackStrData($c & 0x1f) : ''; |
|
| 123 | } |
|
| 124 | // fixarray |
|
| 125 | if ($c >= 0x90 && $c <= 0x9f) { |
|
| 126 | return ($c & 0xf) ? $this->unpackArrayData($c & 0xf) : []; |
|
| @@ 287-289 (lines=3) @@ | ||
| 284 | $c = \ord($this->buffer[$this->offset]); |
|
| 285 | ++$this->offset; |
|
| 286 | ||
| 287 | if ($c >= 0xa0 && $c <= 0xbf) { |
|
| 288 | return ($c & 0x1f) ? $this->unpackStrData($c & 0x1f) : ''; |
|
| 289 | } |
|
| 290 | if (0xd9 === $c) { |
|
| 291 | return $this->unpackStrData($this->unpackUint8()); |
|
| 292 | } |
|