Skip to content
Back to top

# BarcodeReader.decode Method

Module: BarcodeReader

## Definition

Attempts to decode a barcode from the provided raw image data.

    bool decode(Uint8List? data)

Parameters

`data` Uint8List
in An array of bytes representing the raw image data that contains the barcode to be decoded.

Returns

`bool`
A boolean output that indicates the success of the decoding process. It is set to ‘true’ if the barcode is successfully decoded, otherwise ‘false’.

Exceptions

BiosealException
An error has occurred during Bioseal Library execution.