Files
rr3-apk/decompiled/sources/okio/ForwardingSink.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

38 lines
909 B
Java

package okio;
/* loaded from: classes5.dex */
public abstract class ForwardingSink implements Sink {
public final Sink delegate;
public ForwardingSink(Sink sink) {
if (sink == null) {
throw new IllegalArgumentException("delegate == null");
}
this.delegate = sink;
}
@Override // okio.Sink
public void write(Buffer buffer, long j) {
this.delegate.write(buffer, j);
}
@Override // okio.Sink, java.io.Flushable
public void flush() {
this.delegate.flush();
}
@Override // okio.Sink
public Timeout timeout() {
return this.delegate.timeout();
}
@Override // okio.Sink, java.io.Closeable, java.lang.AutoCloseable
public void close() {
this.delegate.close();
}
public String toString() {
return getClass().getSimpleName() + "(" + this.delegate.toString() + ")";
}
}