public class TcpBufferedInputStream extends FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
protected int |
count |
protected byte[] |
internalBuffer |
protected int |
position |
in| Constructor and Description |
|---|
TcpBufferedInputStream(InputStream in) |
TcpBufferedInputStream(InputStream in,
int size) |
protected byte[] internalBuffer
protected int count
protected int position
public TcpBufferedInputStream(InputStream in)
public TcpBufferedInputStream(InputStream in, int size)
protected void fill() throws IOException
IOExceptionpublic int read() throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b, int off, int len) throws IOException
read in class FilterInputStreamIOExceptionpublic long skip(long n) throws IOException
skip in class FilterInputStreamIOExceptionpublic int available() throws IOException
available in class FilterInputStreamIOExceptionpublic boolean markSupported()
markSupported in class FilterInputStreampublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.