Package ucar.unidata.util
Class ByteStringInputStream
java.lang.Object
java.io.InputStream
ucar.unidata.util.ByteStringInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Version:
- $Revision: 1.10 $ $Date: 2006/05/05 19:19:33 $
- Author:
- $Author: jeffmc $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ByteString
_more_protected int
_more_protected int
_more_ -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
close, nullInputStream, read, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
bs_
_more_ -
pos_
protected int pos__more_ -
mark_
protected int mark__more_
-
-
Constructor Details
-
ByteStringInputStream
_more_- Parameters:
bs
-
-
-
Method Details
-
read
public int read()_more_- Specified by:
read
in classInputStream
- Returns:
- _more_
-
read
public int read(byte[] dst, int off, int nbytes) _more_- Overrides:
read
in classInputStream
- Parameters:
dst
-off
-nbytes
-- Returns:
- _more_
-
skip
public long skip(long nbytes) _more_- Overrides:
skip
in classInputStream
- Parameters:
nbytes
-- Returns:
- _more_
-
available
public int available()_more_- Overrides:
available
in classInputStream
- Returns:
- _more_
-
markSupported
public boolean markSupported()_more_- Overrides:
markSupported
in classInputStream
- Returns:
- _more_
-
mark
public void mark(int readAheadLimit) _more_- Overrides:
mark
in classInputStream
- Parameters:
readAheadLimit
-
-
reset
public void reset()_more_- Overrides:
reset
in classInputStream
-