qr code is a bytes with a decode function