Rabbit-R1/original r1/java/sources/org/webrtc/JniHelper.java
2024-05-21 17:08:36 -04:00

31 lines
699 B
Java

package org.webrtc;
import com.google.android.exoplayer2.C;
import java.io.UnsupportedEncodingException;
import java.util.Map;
/* loaded from: classes3.dex */
class JniHelper {
JniHelper() {
}
static byte[] getStringBytes(String str) {
try {
return str.getBytes(C.ISO88591_NAME);
} catch (UnsupportedEncodingException unused) {
throw new RuntimeException("ISO-8859-1 is unsupported");
}
}
static Object getStringClass() {
return String.class;
}
static Object getKey(Map.Entry entry) {
return entry.getKey();
}
static Object getValue(Map.Entry entry) {
return entry.getValue();
}
}