|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
ucar.unidata.util.ByteStringInputStream
public class ByteStringInputStream
| Field Summary | |
|---|---|
protected ByteString |
bs_
_more_ |
protected int |
mark_
_more_ |
protected int |
pos_
_more_ |
| Constructor Summary | |
|---|---|
ByteStringInputStream(ByteString bs)
_more_ |
|
| Method Summary | |
|---|---|
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_ |
| Methods inherited from class java.io.InputStream |
|---|
close, read |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final ByteString bs_
protected int pos_
protected int mark_
| Constructor Detail |
|---|
public ByteStringInputStream(ByteString bs)
bs - | Method Detail |
|---|
public int read()
read in class InputStream
public int read(byte[] dst,
int off,
int nbytes)
read in class InputStreamdst - off - nbytes -
public long skip(long nbytes)
skip in class InputStreamnbytes -
public int available()
available in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic void mark(int readAheadLimit)
mark in class InputStreamreadAheadLimit - public void reset()
reset in class InputStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||