what-the-bank/sources/o/Gux.java

30 lines
652 B
Java

package o;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
/* loaded from: classes.dex */
public final class Gux {
private final Charset a;
public final byte[] c;
public Gux(byte[] bArr, Charset charset) {
this.c = bArr;
this.a = charset;
}
public final String toString() {
return e(this.a);
}
private String e(Charset charset) {
if (charset != null) {
try {
return new String(this.c, charset.name());
} catch (UnsupportedEncodingException unused) {
}
}
return new String(this.c);
}
}