mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-17 01:05:52 +00:00
💄
This commit is contained in:
@@ -78,8 +78,8 @@ final class AlphaNum extends QRDataModeAbstract{
|
||||
;
|
||||
|
||||
// encode 2 characters in 11 bits
|
||||
for($i = 0; $i + 1 < $len; $i += 2){
|
||||
$bitBuffer->put(self::CHAR_TO_ORD[$this->data[$i]] * 45 + self::CHAR_TO_ORD[$this->data[$i + 1]], 11);
|
||||
for($i = 0; ($i + 1) < $len; $i += 2){
|
||||
$bitBuffer->put((self::CHAR_TO_ORD[$this->data[$i]] * 45 + self::CHAR_TO_ORD[$this->data[($i + 1)]]), 11);
|
||||
}
|
||||
|
||||
// encode a remaining character in 6 bits
|
||||
|
||||
Reference in New Issue
Block a user