Lines Matching refs:byte
42 public function handle(array &$ioQueue, string $byte): int
44 if ($byte === '') {
54 $byte = ord($byte);
56 if ($this->lead === 0x8E && ($byte >= 0xA1 && $byte <= 0xDF)) {
59 return 0xFF61 - 0xA1 + $byte;
62 if ($this->lead === 0x8F && ($byte >= 0xA1 && $byte <= 0xFE)) {
64 $this->lead = $byte;
74 if (($lead >= 0xA1 && $lead <= 0xFE) && ($byte >= 0xA1 && $byte <= 0xFE)) {
81 $codePoint = $index[($lead - 0xA1) * 94 + $byte - 0xA1] ?? null;
90 if ($byte <= 0x7F) {
91 array_unshift($ioQueue, chr($byte));
97 if ($byte <= 0x7F) {
98 return $byte;
101 if ($byte === 0x8E || $byte === 0x8F || ($byte >= 0xA1 && $byte <= 0xFE)) {
102 $this->lead = $byte;
117 foreach ($bytes as $byte) {
118 $result = $decoder->handle($bytes, $byte);