Rabbit-R1/android (non root)/java/sources/okio/ForwardingSource.java

53 lines
2.5 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package okio;
import io.sentry.ProfilingTraceData;
import java.io.IOException;
import kotlin.Deprecated;
import kotlin.DeprecationLevel;
import kotlin.Metadata;
import kotlin.ReplaceWith;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: ForwardingSource.kt */
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\b&\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0001¢\u0006\u0002\u0010\u0003J\b\u0010\u0005\u001a\u00020\u0006H\u0016J\r\u0010\u0002\u001a\u00020\u0001H\u0007¢\u0006\u0002\b\u0007J\u0018\u0010\b\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u000b2\u0006\u0010\f\u001a\u00020\tH\u0016J\b\u0010\r\u001a\u00020\u000eH\u0016J\b\u0010\u000f\u001a\u00020\u0010H\u0016R\u0013\u0010\u0002\u001a\u00020\u00018\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\u0004¨\u0006\u0011"}, d2 = {"Lokio/ForwardingSource;", "Lokio/Source;", "delegate", "(Lokio/Source;)V", "()Lokio/Source;", "close", "", "-deprecated_delegate", "read", "", "sink", "Lokio/Buffer;", "byteCount", ProfilingTraceData.TRUNCATION_REASON_TIMEOUT, "Lokio/Timeout;", "toString", "", "okio"}, k = 1, mv = {1, 4, 0})
/* loaded from: classes3.dex */
public abstract class ForwardingSource implements Source {
private final Source delegate;
@Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "delegate", imports = {}))
/* renamed from: -deprecated_delegate, reason: not valid java name and from getter */
public final Source getDelegate() {
return this.delegate;
}
public final Source delegate() {
return this.delegate;
}
public ForwardingSource(Source delegate) {
Intrinsics.checkNotNullParameter(delegate, "delegate");
this.delegate = delegate;
}
@Override // okio.Source
public long read(Buffer sink, long byteCount) throws IOException {
Intrinsics.checkNotNullParameter(sink, "sink");
return this.delegate.read(sink, byteCount);
}
@Override // okio.Source
/* renamed from: timeout */
public Timeout getTimeout() {
return this.delegate.getTimeout();
}
@Override // okio.Source, java.io.Closeable, java.lang.AutoCloseable
public void close() throws IOException {
this.delegate.close();
}
public String toString() {
return getClass().getSimpleName() + '(' + this.delegate + ')';
}
}