package l;

/* JADX INFO: compiled from: -Platform.kt */
/* JADX INFO: loaded from: classes.dex */
public final class b {
    public static final byte[] a(String str) {
        j.p0.d.r.g(str, "$this$asUtf8ToByteArray");
        byte[] bytes = str.getBytes(j.u0.d.b);
        j.p0.d.r.b(bytes, "(this as java.lang.String).getBytes(charset)");
        return bytes;
    }

    public static final String b(byte[] bArr) {
        j.p0.d.r.g(bArr, "$this$toUtf8String");
        return new String(bArr, j.u0.d.b);
    }
}
