()
| 97 | } |
| 98 | |
| 99 | public String readUTF() throws IOException { |
| 100 | int length = readUnsignedShort(); |
| 101 | byte[] bytes = new byte[length]; |
| 102 | readFully(bytes); |
| 103 | return new String(bytes, "UTF-8"); |
| 104 | } |
| 105 | |
| 106 | @Deprecated |
| 107 | public String readLine() throws IOException { |
nothing calls this directly
no test coverage detected