readBarcode method

CodeResult readBarcode(
  1. Pointer<DecodeBarcodeParams> params
)

@brief Read barcode from image bytes. @param params Barcode parameters. Owned pointer. Will be freed before function returns. @return The barcode result.

Implementation

CodeResult readBarcode(
  ffi.Pointer<DecodeBarcodeParams> params,
) {
  return _readBarcode(
    params,
  );
}