public class BufferInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
protected Buffer |
buffer |
protected int |
position |
protected int |
resetPosition |
| Constructor and Description |
|---|
BufferInputStream(Buffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
protected Buffer buffer
protected int position
protected int resetPosition
public BufferInputStream(Buffer buffer)
public int available()
available in class java.io.InputStreampublic void mark(int readlimit)
mark in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStreampublic int read()
read in class java.io.InputStreampublic int read(byte[] b)
read in class java.io.InputStreampublic int read(byte[] b,
int off,
int len)
read in class java.io.InputStreampublic void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOException