discord-jadx/app/src/main/java/c/i/e/s/b/h.java

28 lines
821 B
Java

package c.i.e.s.b;
/* compiled from: Mode */
public enum h {
TERMINATOR(new int[]{0, 0, 0}, 0),
NUMERIC(new int[]{10, 12, 14}, 1),
ALPHANUMERIC(new int[]{9, 11, 13}, 2),
STRUCTURED_APPEND(new int[]{0, 0, 0}, 3),
BYTE(new int[]{8, 16, 16}, 4),
ECI(new int[]{0, 0, 0}, 7),
KANJI(new int[]{8, 10, 12}, 8),
FNC1_FIRST_POSITION(new int[]{0, 0, 0}, 5),
FNC1_SECOND_POSITION(new int[]{0, 0, 0}, 9),
HANZI(new int[]{8, 10, 12}, 13);
private final int bits;
private final int[] characterCountBitsForVersions;
public h(int[] iArr, int i) {
this.characterCountBitsForVersions = iArr;
this.bits = i;
}
public int f(j jVar) {
int i = jVar.f1447c;
return this.characterCountBitsForVersions[i <= 9 ? 0 : i <= 26 ? (char) 1 : 2];
}
}