Lines Matching refs:byte
41 public function handle(array &$ioQueue, string $byte): int
43 if ($byte === '') {
53 $byte = ord($byte);
55 if ($this->lead === 0x8E && ($byte >= 0xA1 && $byte <= 0xDF)) {
58 return 0xFF61 - 0xA1 + $byte;
61 if ($this->lead === 0x8F && ($byte >= 0xA1 && $byte <= 0xFE)) {
63 $this->lead = $byte;
73 if (($lead >= 0xA1 && $lead <= 0xFE) && ($byte >= 0xA1 && $byte <= 0xFE)) {
80 $codePoint = $index[($lead - 0xA1) * 94 + $byte - 0xA1] ?? null;
89 if ($byte <= 0x7F) {
90 array_unshift($ioQueue, chr($byte));
96 if ($byte <= 0x7F) {
97 return $byte;
100 if ($byte === 0x8E || $byte === 0x8F || ($byte >= 0xA1 && $byte <= 0xFE)) {
101 $this->lead = $byte;
116 foreach ($bytes as $byte) {
117 $result = $decoder->handle($bytes, $byte);