(InputStream is)
| 3052 | } |
| 3053 | |
| 3054 | static String readStream(InputStream is) throws IOException { |
| 3055 | return readStream(is, StandardCharsets.UTF_8); |
| 3056 | } |
| 3057 | |
| 3058 | static String readStream(InputStream is, Charset charset) throws IOException { |
| 3059 | ByteArrayOutputStream os = new ByteArrayOutputStream(Math.max(BUFFER_SIZE, is.available())); |
no test coverage detected