I used the android vision sample for scanning PDF417 barcode on the South African driver license.
For decoding the information I need to pass the byte array to another library.
But I can get only get a barcode.rawValue
that is a String
.
I am trying to obtain bytes[]
from the string using barcode.rawValue.getBytes()
but this returns an array which is not working with the decoding library.
I need an analogue of Pdf417MobiScanData.getBarcodeRawData().getAllData()
.
Thank you.