Files
rr3-apk/decompiled/sources/okio/ForwardingSource.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

39 lines
949 B
Java

package okio;
import java.io.IOException;
/* loaded from: classes5.dex */
public abstract class ForwardingSource implements Source {
private final Source delegate;
public final Source delegate() {
return this.delegate;
}
public ForwardingSource(Source source) {
if (source == null) {
throw new IllegalArgumentException("delegate == null");
}
this.delegate = source;
}
@Override // okio.Source
public long read(Buffer buffer, long j) {
return this.delegate.read(buffer, j);
}
@Override // okio.Source
public Timeout timeout() {
return this.delegate.timeout();
}
@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.toString() + ")";
}
}