UNPKG

@zxing/library

Version:

TypeScript port of ZXing multi-format 1D/2D barcode image processing library.

22 lines (21 loc) 694 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var BlockParsedResult = /** @class */ (function () { function BlockParsedResult(finished, decodedInformation) { if (decodedInformation) { this.decodedInformation = null; } else { this.finished = finished; this.decodedInformation = decodedInformation; } } BlockParsedResult.prototype.getDecodedInformation = function () { return this.decodedInformation; }; BlockParsedResult.prototype.isFinished = function () { return this.finished; }; return BlockParsedResult; }()); exports.default = BlockParsedResult;