package i;

import java.io.IOException;
import java.io.InputStream;
import java.nio.channels.ReadableByteChannel;
import java.nio.charset.Charset;

/* JADX INFO: compiled from: BufferedSource.kt */
/* JADX INFO: loaded from: classes.dex */
public interface h extends d0, ReadableByteChannel {
    boolean B() throws IOException;

    byte[] C(long j2) throws IOException;

    void I(f fVar, long j2) throws IOException;

    long M() throws IOException;

    String O(long j2) throws IOException;

    void Y(long j2) throws IOException;

    f c();

    boolean e0(long j2, i iVar) throws IOException;

    long f0() throws IOException;

    i g() throws IOException;

    i h(long j2) throws IOException;

    String h0(Charset charset) throws IOException;

    InputStream k0();

    int m0(t tVar) throws IOException;

    boolean o(long j2) throws IOException;

    h peek();

    byte readByte() throws IOException;

    void readFully(byte[] bArr) throws IOException;

    int readInt() throws IOException;

    long readLong() throws IOException;

    short readShort() throws IOException;

    void skip(long j2) throws IOException;

    String v() throws IOException;

    byte[] w() throws IOException;
}
