Top Description Fields Constructors Methods
com.mysql.cj.protocol

public Class FullReadInputStream

extends FilterInputStream
Class Inheritance
Imports
java.io.EOFException, .FilterInputStream, .IOException, .InputStream, com.mysql.cj.Messages

InputStream wrapper that provides methods to aggregate reads of a given size. c.f. readFully(byte[],int,int).

Field Summary

Inherited from java.io.FilterInputStream:
in

Constructor Summary

AccessConstructor and Description
public
FullReadInputStream(InputStream underlyingStream)

Method Summary

Modifier and TypeMethod and Description
public InputStream
public int
readFully(byte[] b)

public int
readFully(byte[] b, int off, int len)

public long
skipFully(long len)

public int
Inherited from java.io.FilterInputStream:
availableclosemarkmarkSupportedreadreadreadresetskip

Constructor Detail

FullReadInputStreamback to summary
public FullReadInputStream(InputStream underlyingStream)

Method Detail

getUnderlyingStreamback to summary
public InputStream getUnderlyingStream()
readFullyback to summary
public int readFully(byte[] b) throws IOException
readFullyback to summary
public int readFully(byte[] b, int off, int len) throws IOException
skipFullyback to summary
public long skipFully(long len) throws IOException
skipLengthEncodedIntegerback to summary
public int skipLengthEncodedInteger() throws IOException