jimu-decompiled/sources/okio/BufferedSource.java
2025-05-13 19:24:51 +02:00

94 lines
2.4 KiB
Java

package okio;
import java.io.IOException;
import java.io.InputStream;
import java.nio.channels.ReadableByteChannel;
import java.nio.charset.Charset;
/* loaded from: classes2.dex */
public interface BufferedSource extends Source, ReadableByteChannel {
Buffer buffer();
boolean exhausted() throws IOException;
long indexOf(byte b) throws IOException;
long indexOf(byte b, long j) throws IOException;
long indexOf(byte b, long j, long j2) throws IOException;
long indexOf(ByteString byteString) throws IOException;
long indexOf(ByteString byteString, long j) throws IOException;
long indexOfElement(ByteString byteString) throws IOException;
long indexOfElement(ByteString byteString, long j) throws IOException;
InputStream inputStream();
boolean rangeEquals(long j, ByteString byteString) throws IOException;
boolean rangeEquals(long j, ByteString byteString, int i, int i2) throws IOException;
int read(byte[] bArr) throws IOException;
int read(byte[] bArr, int i, int i2) throws IOException;
long readAll(Sink sink) throws IOException;
byte readByte() throws IOException;
byte[] readByteArray() throws IOException;
byte[] readByteArray(long j) throws IOException;
ByteString readByteString() throws IOException;
ByteString readByteString(long j) throws IOException;
long readDecimalLong() throws IOException;
void readFully(Buffer buffer, long j) throws IOException;
void readFully(byte[] bArr) throws IOException;
long readHexadecimalUnsignedLong() throws IOException;
int readInt() throws IOException;
int readIntLe() throws IOException;
long readLong() throws IOException;
long readLongLe() throws IOException;
short readShort() throws IOException;
short readShortLe() throws IOException;
String readString(long j, Charset charset) throws IOException;
String readString(Charset charset) throws IOException;
String readUtf8() throws IOException;
String readUtf8(long j) throws IOException;
int readUtf8CodePoint() throws IOException;
String readUtf8Line() throws IOException;
String readUtf8LineStrict() throws IOException;
String readUtf8LineStrict(long j) throws IOException;
boolean request(long j) throws IOException;
void require(long j) throws IOException;
int select(Options options) throws IOException;
void skip(long j) throws IOException;
}