Closed shepherdsiduli closed 9 years ago
Hello,
rawData
in this case holds hex encoded barcode data. The exact method of encoding depends on your use-case and the format of the data that you are trying to encode. The function hex2a(hex)
does conversion to a string, you can modify it to convert to base64.
Hi Guys
How I do i convert the scan raw data to base64 in javascript?
Here is my code extract
var rawData = data.data; // convert rawData to base64
Kind Regards