43 lines
1.2 KiB
Java
43 lines
1.2 KiB
Java
package o;
|
|
|
|
import com.google.common.primitives.UnsignedBytes;
|
|
import java.nio.charset.StandardCharsets;
|
|
|
|
/* renamed from: o.dDy, reason: case insensitive filesystem */
|
|
/* loaded from: classes2.dex */
|
|
public final class C8198dDy {
|
|
public final String a;
|
|
public OCM b;
|
|
public final StringBuilder c;
|
|
public int d;
|
|
public OCM e;
|
|
public int f;
|
|
public xHt g;
|
|
public Nnt i;
|
|
public int j;
|
|
|
|
public C8198dDy(String str) {
|
|
byte[] bytes = str.getBytes(StandardCharsets.ISO_8859_1);
|
|
StringBuilder sb = new StringBuilder(bytes.length);
|
|
int length = bytes.length;
|
|
for (int i = 0; i < length; i++) {
|
|
char c = (char) (bytes[i] & UnsignedBytes.MAX_VALUE);
|
|
if (c == '?' && str.charAt(i) != '?') {
|
|
throw new IllegalArgumentException("Message contains characters outside ISO-8859-1 encoding.");
|
|
}
|
|
sb.append(c);
|
|
}
|
|
this.a = sb.toString();
|
|
this.g = xHt.FORCE_NONE;
|
|
this.c = new StringBuilder(str.length());
|
|
this.d = -1;
|
|
}
|
|
|
|
public final void e(int i) {
|
|
Nnt nnt = this.i;
|
|
if (nnt == null || i > nnt.e) {
|
|
this.i = Nnt.e(i, this.g, this.b, this.e);
|
|
}
|
|
}
|
|
}
|