Is it possible to encode a qr code from a list of signed integers where each integer would represent a byte in python

Viewed 140

Let us consider the following

list: [-127,37,92]

Trying to store it in byte mode (using segno and qrcode libraries in python) would have each character represented by a byte. This means that the whole list would take up 12 bytes.

Is it possible to encode a qr code where each byte represents a signed integer?

So -127 represented by one byte, 37 represented by another byte and 92 represented by another byte. This would mean that only 3 bytes are being used to store the information.

0 Answers
Related