public class StrictBufferedInputStream extends BufferedInputStream
in
Constructor and Description |
---|
StrictBufferedInputStream(InputStream in) |
StrictBufferedInputStream(InputStream in,
int size) |
Modifier and Type | Method and Description |
---|---|
int |
read(byte[] buffer,
int bufPos,
int length)
Workaround for an unexpected behavior of 'BufferedInputStream'!
|
available, close, mark, markSupported, read, reset, skip
read
public StrictBufferedInputStream(InputStream in)
public StrictBufferedInputStream(InputStream in, int size)
public int read(byte[] buffer, int bufPos, int length) throws IOException
read
in class BufferedInputStream
IOException