scanBytes static method

Future<ScanResult> scanBytes(
  1. Uint8List bytes, {
  2. ScanMode mode = ScanMode.qr,
})

High-level API to scan a raw byte buffer bytes under specified mode.

Implementation

static Future<ScanResult> scanBytes(
  Uint8List bytes, {
  ScanMode mode = ScanMode.qr,
}) async {
  return _engine.processBytes(bytes, mode);
}