what-the-bank/sources/io/grpc/internal/ReadableBuffer.java

45 lines
817 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package io.grpc.internal;
import java.io.Closeable;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.ByteBuffer;
/* loaded from: classes6.dex */
public interface ReadableBuffer extends Closeable {
byte[] array();
int arrayOffset();
boolean byteBufferSupported();
@Override // java.io.Closeable, java.lang.AutoCloseable
void close();
ByteBuffer getByteBuffer();
boolean hasArray();
void mark();
boolean markSupported();
ReadableBuffer readBytes(int i);
void readBytes(OutputStream outputStream, int i) throws IOException;
void readBytes(ByteBuffer byteBuffer);
void readBytes(byte[] bArr, int i, int i2);
int readInt();
int readUnsignedByte();
int readableBytes();
void reset();
void skipBytes(int i);
}