Rabbit-R1/android (non root)/java/sources/okio/Okio.java
2024-05-21 17:08:36 -04:00

71 lines
2.2 KiB
Java

package okio;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
import java.nio.file.OpenOption;
import java.nio.file.Path;
import kotlin.Metadata;
@Metadata(bv = {1, 0, 3}, d1 = {"okio/Okio__JvmOkioKt", "okio/Okio__OkioKt"}, k = 4, mv = {1, 4, 0})
/* loaded from: classes3.dex */
public final class Okio {
public static final Sink appendingSink(File file) throws FileNotFoundException {
return Okio__JvmOkioKt.appendingSink(file);
}
public static final Sink blackhole() {
return Okio__OkioKt.blackhole();
}
public static final BufferedSink buffer(Sink sink) {
return Okio__OkioKt.buffer(sink);
}
public static final BufferedSource buffer(Source source) {
return Okio__OkioKt.buffer(source);
}
public static final boolean isAndroidGetsocknameError(AssertionError assertionError) {
return Okio__JvmOkioKt.isAndroidGetsocknameError(assertionError);
}
public static final Sink sink(File file) throws FileNotFoundException {
return Okio__JvmOkioKt.sink$default(file, false, 1, null);
}
public static final Sink sink(File file, boolean z) throws FileNotFoundException {
return Okio__JvmOkioKt.sink(file, z);
}
public static final Sink sink(OutputStream outputStream) {
return Okio__JvmOkioKt.sink(outputStream);
}
public static final Sink sink(Socket socket) throws IOException {
return Okio__JvmOkioKt.sink(socket);
}
public static final Sink sink(Path path, OpenOption... openOptionArr) throws IOException {
return Okio__JvmOkioKt.sink(path, openOptionArr);
}
public static final Source source(File file) throws FileNotFoundException {
return Okio__JvmOkioKt.source(file);
}
public static final Source source(InputStream inputStream) {
return Okio__JvmOkioKt.source(inputStream);
}
public static final Source source(Socket socket) throws IOException {
return Okio__JvmOkioKt.source(socket);
}
public static final Source source(Path path, OpenOption... openOptionArr) throws IOException {
return Okio__JvmOkioKt.source(path, openOptionArr);
}
}