org.refcodes.component.Closable
public interface BytesInputStream
extends org.refcodes.component.Closable
InputStream
does not provide some useful *interface*)InputStream
Modifier and Type | Method | Description |
---|---|---|
int |
available() |
Availability.
|
void |
mark(int readlimit) |
Mark.
|
boolean |
markSupported() |
Mark supported.
|
int |
read() |
Read.
|
int |
read(byte[] b) |
Read.
|
int |
read(byte[] b,
int off,
int len) |
Read.
|
void |
reset() |
Reset.
|
long |
skip(long n) |
Skip.
|
int read() throws IOException
IOException
- the open exceptionint read(byte[] b) throws IOException
b
- the bIOException
- the open exceptionint read(byte[] b, int off, int len) throws IOException
b
- the boff
- the offlen
- the lenIOException
- the open exceptionlong skip(long n) throws IOException
n
- the nIOException
- the open exceptionint available() throws IOException
IOException
- the open exceptionvoid mark(int readlimit)
readlimit
- the readlimitvoid reset() throws IOException
IOException
- the open exceptionboolean markSupported()
Copyright © 2021. All rights reserved.