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