DataInputStream with additional convenience methods.
| Modifier and Type | Field and Description |
|---|---|
| private char[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String | |
| private void |
| chars | back to summary |
|---|---|
| private char[] chars | |
| DataInput | back to summary |
|---|---|
| public DataInput(InputStream in) | |
| readInt | back to summary |
|---|---|
| public int readInt(boolean optimizePositive) throws IOException Reads a 1-5 byte int. | |
| readString | back to summary |
|---|---|
| public String readString() throws IOException Reads the length and string of UTF8 characters, or null. | |
| readUtf8_slow | back to summary |
|---|---|
| private void readUtf8_slow(int charCount, int charIndex, int b) throws IOException | |