Files
rr3-apk/decompiled/sources/com/google/zxing/pdf417/encoder/BarcodeRow.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

33 lines
801 B
Java

package com.google.zxing.pdf417.encoder;
/* loaded from: classes3.dex */
public final class BarcodeRow {
public int currentLocation = 0;
public final byte[] row;
public BarcodeRow(int i) {
this.row = new byte[i];
}
public final void set(int i, boolean z) {
this.row[i] = z ? (byte) 1 : (byte) 0;
}
public void addBar(boolean z, int i) {
for (int i2 = 0; i2 < i; i2++) {
int i3 = this.currentLocation;
this.currentLocation = i3 + 1;
set(i3, z);
}
}
public byte[] getScaledRow(int i) {
int length = this.row.length * i;
byte[] bArr = new byte[length];
for (int i2 = 0; i2 < length; i2++) {
bArr[i2] = this.row[i2 / i];
}
return bArr;
}
}