【发布时间】:2021-11-29 18:22:01
【问题描述】:
我在颤动中读取了 ZATCA QR 码规范的二维码,但我如何解码以获得 as 对象或分隔字符串:
-Seller’s name
-VAT registration number of the seller
-Time stamp of the Electronic Invoice or Credit/Debit Note (date and time)
-VAT total
-Invoice total
我在 Flutter 中执行此代码:
var data = base64.decode(string as resultof qr code);
var utf8data = utf8.decode(data);
但是如何将 utf8data 解码为这样的字符串:
-Seller’s name
-VAT registration number of the seller
-Time stamp of the Electronic Invoice or Credit/Debit Note (date and time)
-VAT total
-Invoice total
【问题讨论】: