package h;

import java.io.IOException;

/* JADX INFO: compiled from: BufferedSink.java */
/* JADX INFO: loaded from: classes.dex */
public interface d extends r {
    d E(f fVar) throws IOException;

    d K() throws IOException;

    d Y(String str) throws IOException;

    d a0(long j2) throws IOException;

    long b(s sVar) throws IOException;

    c buffer();

    d c(long j2) throws IOException;

    @Override // h.r, java.io.Flushable
    void flush() throws IOException;

    d i() throws IOException;

    d write(byte[] bArr) throws IOException;

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

    d writeByte(int i2) throws IOException;

    d writeInt(int i2) throws IOException;

    d writeLong(long j2) throws IOException;

    d writeShort(int i2) throws IOException;
}
