类 FullReadInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- com.mysql.cj.protocol.FullReadInputStream
-
- 所有已实现的接口:
Closeable,AutoCloseable
public class FullReadInputStream extends FilterInputStream
InputStream wrapper that provides methods to aggregate reads of a given size. c.f. readFully(byte[],int,int).
-
-
字段概要
-
从类继承的字段 java.io.FilterInputStream
in
-
-
构造器概要
构造器 构造器 说明 FullReadInputStream(InputStream underlyingStream)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 InputStreamgetUnderlyingStream()intreadFully(byte[] b)intreadFully(byte[] b, int off, int len)longskipFully(long len)intskipLengthEncodedInteger()-
从类继承的方法 java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
-
从类继承的方法 java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
构造器详细资料
-
FullReadInputStream
public FullReadInputStream(InputStream underlyingStream)
-
-
方法详细资料
-
getUnderlyingStream
public InputStream getUnderlyingStream()
-
readFully
public int readFully(byte[] b) throws IOException- 抛出:
IOException
-
readFully
public int readFully(byte[] b, int off, int len) throws IOException- 抛出:
IOException
-
skipFully
public long skipFully(long len) throws IOException- 抛出:
IOException
-
skipLengthEncodedInteger
public int skipLengthEncodedInteger() throws IOException- 抛出:
IOException
-
-