decodeImageBuffer method

Future<List<BarcodeResult>> decodeImageBuffer(
  1. Uint8List bytes,
  2. int width,
  3. int height,
  4. int stride,
  5. int format,
)

Implementation

Future<List<BarcodeResult>> decodeImageBuffer(
    Uint8List bytes, int width, int height, int stride, int format) async {
  List<Map<dynamic, dynamic>> ret = List<Map<dynamic, dynamic>>.from(
      await _channel.invokeMethod('decodeImageBuffer', {
        'bytes': bytes,
        'width': width,
        'height': height,
        'stride': stride,
        'format': format
      }));
  return _convertResults(ret);
}