public final class ArrayInput extends BufferInput
Constructor and Description |
---|
ArrayInput(byte[] in)
Constructor, specifying the byte array to be read.
|
ArrayInput(String in)
Constructor, specifying the string to be read.
|
Modifier and Type | Method and Description |
---|---|
protected int |
readByte()
Returns the next unsigned byte.
|
close, content, io, length, mark, markSupported, read, readBytes, readString, reset, size
available, read, read, skip
public ArrayInput(byte[] in)
in
- input bytespublic ArrayInput(String in)
in
- input bytesprotected int readByte()
BufferInput
-1
is returned if all bytes have been read.InputStream.read()
Copyright © 2005–2015 BaseX Team. All rights reserved.