public class TcpBufferedInputStream
extends java.io.FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
protected int |
count |
protected byte[] |
internalBuffer |
protected int |
position |
| Constructor and Description |
|---|
TcpBufferedInputStream(java.io.InputStream in) |
TcpBufferedInputStream(java.io.InputStream in,
int size) |
protected byte[] internalBuffer
protected int count
protected int position
public TcpBufferedInputStream(java.io.InputStream in)
public TcpBufferedInputStream(java.io.InputStream in,
int size)
protected void fill()
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.FilterInputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.FilterInputStreampublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterInputStreamjava.io.IOExceptionCopyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.