public final class ArrayInput extends BufferInput
| Constructor and Description |
|---|
ArrayInput(byte[] input)
Constructor, specifying the byte array to be read.
|
ArrayInput(java.lang.String input)
Constructor, specifying the string to be read.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read()
Returns the next byte (see
InputStream.read(). |
close, content, length, length, mark, markSupported, next, readBytes, readString, reset, sizepublic ArrayInput(byte[] input)
input - input bytespublic ArrayInput(java.lang.String input)
input - input bytespublic int read()
BufferInputInputStream.read().
-1 is returned if all bytes have been read.read in class BufferInput