package d;

import java.io.IOException;
import java.nio.channels.WritableByteChannel;

/* JADX INFO: compiled from: BufferedSink.kt */
/* JADX INFO: loaded from: classes.dex */
public interface g extends y, WritableByteChannel {
    f a();

    g b(byte[] bArr) throws IOException;

    g c(byte[] bArr, int i, int i2) throws IOException;

    g d(i iVar) throws IOException;

    long f(a0 a0Var) throws IOException;

    @Override // d.y, java.io.Flushable
    void flush() throws IOException;

    g g() throws IOException;

    g h(long j) throws IOException;

    g n() throws IOException;

    g o(int i) throws IOException;

    g q(int i) throws IOException;

    g w(String str) throws IOException;

    g x(long j) throws IOException;

    g z(int i) throws IOException;
}
