use of jp.sourceforge.qrcode.reader.QRCodeDataBlockReader in project qrcode by yanbe.
the class QRCodeDecoder method getDecodedByteArray.
byte[] getDecodedByteArray(int[] blocks, int version, int numErrorCorrectionCode) throws InvalidDataBlockException {
byte[] byteArray;
QRCodeDataBlockReader reader = new QRCodeDataBlockReader(blocks, version, numErrorCorrectionCode);
try {
byteArray = reader.getDataByte();
} catch (InvalidDataBlockException e) {
throw e;
}
return byteArray;
}
Aggregations