package com.google.zxing; import com.google.zxing.common.BitArray; import com.google.zxing.common.BitMatrix; /* loaded from: classes.dex */ public final class BinaryBitmap { private final Binarizer a; private BitMatrix b; public BinaryBitmap(Binarizer binarizer) { if (binarizer == null) { throw new IllegalArgumentException("Binarizer must be non-null."); } this.a = binarizer; } public BitArray a(int i, BitArray bitArray) throws NotFoundException { return this.a.a(i, bitArray); } public int b() { return this.a.b(); } public int c() { return this.a.d(); } public boolean d() { return this.a.c().d(); } public BinaryBitmap e() { this.a.c().e(); throw null; } public String toString() { try { return a().toString(); } catch (NotFoundException unused) { return ""; } } public BitMatrix a() throws NotFoundException { if (this.b == null) { this.b = this.a.a(); } return this.b; } }