public class TBufferedInputStream extends TFilterInputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf |
protected int |
count |
protected int |
marklimit |
protected int |
markpos |
protected int |
pos |
in
Constructor and Description |
---|
TBufferedInputStream(TInputStream in) |
TBufferedInputStream(TInputStream in,
int size) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] buffer,
int offset,
int length) |
void |
reset() |
long |
skip(long amount) |
read
protected volatile byte[] buf
protected int count
protected int marklimit
protected int markpos
protected int pos
public TBufferedInputStream(TInputStream in)
public TBufferedInputStream(TInputStream in, int size)
public int available() throws IOException
available
in class TFilterInputStream
IOException
public void close() throws IOException
close
in interface TCloseable
close
in interface TAutoCloseable
close
in class TFilterInputStream
IOException
public void mark(int readlimit)
mark
in class TFilterInputStream
public boolean markSupported()
markSupported
in class TFilterInputStream
public int read() throws IOException
read
in class TFilterInputStream
IOException
public int read(byte[] buffer, int offset, int length) throws IOException
read
in class TFilterInputStream
IOException
public void reset() throws IOException
reset
in class TFilterInputStream
IOException
public long skip(long amount) throws IOException
skip
in class TFilterInputStream
IOException
Copyright © 2019. All rights reserved.