Class DataReader
java.lang.Object
java.io.Reader
org.h2.store.DataReader
- All Implemented Interfaces:
Closeable, AutoCloseable, Readable
This class is backed by an input stream and supports reading values and
variable size data.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Reader
mark, markSupported, nullReader, of, read, read, read, readAllAsString, readAllLines, ready, reset, skip, transferTo
-
Constructor Details
-
DataReader
-
-
Method Details
-
readByte
Read a byte.- Returns:
- the byte
- Throws:
IOException- on failure
-
readVarInt
Read a variable size integer.- Returns:
- the value
- Throws:
IOException- on failure
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classReader- Throws:
IOException
-
read
- Specified by:
readin classReader- Throws:
IOException
-