(InputStream p_readAll_0_)
| 1310 | } |
| 1311 | |
| 1312 | public static byte[] readAll(InputStream p_readAll_0_) throws IOException { |
| 1313 | ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream(); |
| 1314 | byte[] abyte = new byte[1024]; |
| 1315 | |
| 1316 | while (true) { |
| 1317 | int i = p_readAll_0_.read(abyte); |
| 1318 | |
| 1319 | if (i < 0) { |
| 1320 | p_readAll_0_.close(); |
| 1321 | byte[] abyte1 = bytearrayoutputstream.toByteArray(); |
| 1322 | return abyte1; |
| 1323 | } |
| 1324 | |
| 1325 | bytearrayoutputstream.write(abyte, 0, i); |
| 1326 | } |
| 1327 | } |
| 1328 | |
| 1329 | public static GameSettings getGameSettings() { |
| 1330 | return gameSettings; |
no test coverage detected