Get Barcode Type and Encoded Data
Contents
[
Hide
]
Get Barcode Type and Encoded Data
To obtain input barcode data and its symbology, getCodeText and getCodeType methods of class BarCodeResult can be used. The other method called getCodeTypeName returns the text name of the barcode type.
Get Barcode Data as Byte Stream
It is possible to load barcode data as a byte stream using a special method of class BarCodeResult that is called getCodeBytes.
Decode Barcode Text in Unicode
For barcodes in which the barcode data is encoded in a Unicode encoding, the library provides the getCodeText method that can be used to enable the required encoding in the following format: getCodeText(java.nio.charset.Charset encoding).