|
Marshalling API version 1.0.0.Beta2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ByteInput

An input stream of bytes.
| Method Summary | |
|---|---|
int |
available()
Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream. |
int |
read()
Reads the next byte of data from the input stream. |
int |
read(byte[] b)
Read some bytes from the input stream into the given array. |
int |
read(byte[] b,
int off,
int len)
Read some bytes from the input stream into the given array. |
long |
skip(long n)
Skips over and discards up to n bytes of data from this input stream. |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Method Detail |
|---|
int read()
throws IOException
IOException - if an error occurs
int read(byte[] b)
throws IOException
b - the destination array
IOException - if an error occurs
int read(byte[] b,
int off,
int len)
throws IOException
b - the destination arrayoff - the offset into the array into which data should be readlen - the number of bytes to attempt to fill in the destination array
IOException - if an error occurs
int available()
throws IOException
IOException - if an error occurs
long skip(long n)
throws IOException
n bytes of data from this input stream.
n - the number of bytes to attempt to skip
IOException - if an error occurs
|
Marshalling API version 1.0.0.Beta2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||