Interface BytesInputStream
- All Superinterfaces:
org.refcodes.component.Closable
public interface BytesInputStream
extends org.refcodes.component.Closable
(as
InputStream does not provide some useful *interface*)- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.component.Closable
org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B> -
Method Summary
Methods inherited from interface org.refcodes.component.Closable
close, closeIn, closeQuietly, closeUnchecked
-
Method Details
-
read
-
read
Read.- Parameters:
b- the b- Returns:
- the int
- Throws:
IOException- the open exception
-
read
Read.- Parameters:
b- the boff- the offlen- the len- Returns:
- the int
- Throws:
IOException- the open exception
-
skip
Skip.- Parameters:
n- the n- Returns:
- the long
- Throws:
IOException- the open exception
-
available
Availability.- Returns:
- the int
- Throws:
IOException- the open exception
-
mark
void mark(int readlimit) Mark.- Parameters:
readlimit- the readlimit
-
reset
-
markSupported
boolean markSupported()Mark supported.- Returns:
- true, if successful
-