UNPKG

@zxing/library

Version:

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

18 lines (17 loc) 437 B
export default class BlockParsedResult { constructor(finished, decodedInformation) { if (decodedInformation) { this.decodedInformation = null; } else { this.finished = finished; this.decodedInformation = decodedInformation; } } getDecodedInformation() { return this.decodedInformation; } isFinished() { return this.finished; } }