org.basex.io
Class CachedInput
java.lang.Object
org.basex.io.BufferInput
org.basex.io.CachedInput
public final class CachedInput
- extends BufferInput
This class allows reading from a cached byte array.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
Constructor Summary |
CachedInput(byte[] input)
Initializes the file reader. |
Method Summary |
byte |
readByte()
Returns the next byte. |
CachedInput
public CachedInput(byte[] input)
- Initializes the file reader.
- Parameters:
input
- input bytes
readByte
public byte readByte()
- Returns the next byte.
- Overrides:
readByte
in class BufferInput
- Returns:
- next byte