tahamajs/IE / Projects /front /node_modules /@zxing /library /es2015 /browser /BrowserMultiFormatReader.js
tahamajs's picture
download
raw
624 Bytes
import { BrowserCodeReader } from './BrowserCodeReader';
import MultiFormatReader from '../core/MultiFormatReader';
export class BrowserMultiFormatReader extends BrowserCodeReader {
constructor(hints = null, timeBetweenScansMillis = 500) {
const reader = new MultiFormatReader();
reader.setHints(hints);
super(reader, timeBetweenScansMillis);
}
/**
* Overwrite decodeBitmap to call decodeWithState, which will pay
* attention to the hints set in the constructor function
*/
decodeBitmap(binaryBitmap) {
return this.reader.decodeWithState(binaryBitmap);
}
}

Xet Storage Details

Size:
624 Bytes
·
Xet hash:
ba1977f55192c5a7f318b9151b292a14110f6dd4a4b281b973d8b62fc3d2c7e7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.