package o; import java.io.IOException; /* loaded from: classes6.dex */ public abstract class giQ implements giX { private final giX anm; public giQ(giX gix) { if (gix == null) { throw new IllegalArgumentException("delegate == null"); } this.anm = gix; } @Override // o.giX public void write(giM gim, long j) throws IOException { this.anm.write(gim, j); } @Override // o.giX, java.io.Flushable public void flush() throws IOException { this.anm.flush(); } @Override // o.giX public giY timeout() { return this.anm.timeout(); } @Override // o.giX, java.io.Closeable, java.lang.AutoCloseable public void close() throws IOException { this.anm.close(); } public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append("("); sb.append(this.anm.toString()); sb.append(")"); return sb.toString(); } public final giX delegate() { return this.anm; } }