package d;

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 a0, ReadableByteChannel {
    byte[] A(long j) throws IOException;

    long B() throws IOException;

    String C(Charset charset) throws IOException;

    InputStream D();

    int E(q qVar) throws IOException;

    f a();

    void e(f fVar, long j) throws IOException;

    long i() throws IOException;

    i j(long j) throws IOException;

    String k(long j) throws IOException;

    void l(long j) throws IOException;

    long m(y yVar) throws IOException;

    boolean p(long j) throws IOException;

    h r();

    byte readByte() throws IOException;

    void readFully(byte[] bArr) throws IOException;

    int readInt() throws IOException;

    long readLong() throws IOException;

    short readShort() throws IOException;

    String s() throws IOException;

    byte[] t() throws IOException;

    void u(long j) throws IOException;

    boolean y() throws IOException;
}
