public class ByteStringInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
protected ByteString |
bs_
_more_
|
protected int |
mark_
_more_
|
protected int |
pos_
_more_
|
| Constructor and Description |
|---|
ByteStringInputStream(ByteString bs)
_more_
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
_more_
|
void |
mark(int readAheadLimit)
_more_
|
boolean |
markSupported()
_more_
|
int |
read()
_more_
|
int |
read(byte[] dst,
int off,
int nbytes)
_more_
|
void |
reset()
_more_
|
long |
skip(long nbytes)
_more_
|
protected final ByteString bs_
protected int pos_
protected int mark_
public ByteStringInputStream(ByteString bs)
bs - public int read()
read in class java.io.InputStreampublic int read(byte[] dst,
int off,
int nbytes)
read in class java.io.InputStreamdst - off - nbytes - public long skip(long nbytes)
skip in class java.io.InputStreamnbytes - public int available()
available in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStreampublic void mark(int readAheadLimit)
mark in class java.io.InputStreamreadAheadLimit - public void reset()
reset in class java.io.InputStream