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
IOException
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public long skip(long n) throws IOException
skip
in class FilterInputStream
IOException
public int available() throws IOException
available
in class FilterInputStream
IOException
public boolean markSupported()
markSupported
in class FilterInputStream
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.