package i;

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 b0, WritableByteChannel {
    g G(i iVar) throws IOException;

    g L() throws IOException;

    g Z(String str) throws IOException;

    g b0(long j2) throws IOException;

    f c();

    long e(d0 d0Var) throws IOException;

    g f(long j2) throws IOException;

    @Override // i.b0, java.io.Flushable
    void flush() throws IOException;

    g k() throws IOException;

    g write(byte[] bArr) throws IOException;

    g write(byte[] bArr, int i2, int i3) throws IOException;

    g writeByte(int i2) throws IOException;

    g writeInt(int i2) throws IOException;

    g writeShort(int i2) throws IOException;
}
