jimu-decompiled/sources/com/google/zxing/aztec/encoder/SimpleToken.java
2025-05-13 19:24:51 +02:00

27 lines
690 B
Java

package com.google.zxing.aztec.encoder;
import com.google.zxing.common.BitArray;
/* loaded from: classes.dex */
final class SimpleToken extends Token {
private final short c;
private final short d;
SimpleToken(Token token, int i, int i2) {
super(token);
this.c = (short) i;
this.d = (short) i2;
}
@Override // com.google.zxing.aztec.encoder.Token
void a(BitArray bitArray, byte[] bArr) {
bitArray.a(this.c, this.d);
}
public String toString() {
short s = this.c;
short s2 = this.d;
return "<" + Integer.toBinaryString((s & ((1 << s2) - 1)) | (1 << s2) | (1 << this.d)).substring(1) + '>';
}
}