- <init>
Creates a new Input for reading from a byte array.
- readInt
Reads a 1-5 byte int. This stream may consider such a variable length encoding
request as a hint. It
- close
Closes the underlying InputStream, if any.
- readString
Reads the length and string of UTF8 characters, or null. This can read strings
written by Output#wri
- readLong
Reads a 1-9 byte long. This stream may consider such a variable length encoding
request as a hint. I
- readBytes
Reads count bytes and writes them to the specified byte[], starting at offset.
- readBoolean
Reads a 1 byte boolean.
- readByte
Reads a single byte.
- readDouble
Reads a 1-9 byte double with reduced precision.
- read
Reads count bytes or less and writes them to the specified byte[], starting at
offset, and returns t
- readShort
Reads a 2 byte short.
- setBuffer
Sets a new buffer. The position and total are reset, discarding any buffered
bytes.