Rabbit-R1/original r1/java/sources/kotlin/text/CharsetsKt.java
2024-05-21 17:08:36 -04:00

17 lines
827 B
Java

package kotlin.text;
import java.nio.charset.Charset;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: Charsets.kt */
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\u001a\u0011\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\u0087\\u0006\u0004"}, d2 = {"charset", "Ljava/nio/charset/Charset;", "charsetName", "", "kotlin-stdlib"}, k = 2, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes3.dex */
public final class CharsetsKt {
private static final Charset charset(String charsetName) {
Intrinsics.checkNotNullParameter(charsetName, "charsetName");
Charset forName = Charset.forName(charsetName);
Intrinsics.checkNotNullExpressionValue(forName, "forName(...)");
return forName;
}
}