(InputStream inp, byte[] destination)
| 31 | protected static final Charset UTF8 = Charset.forName("UTF-8"); |
| 32 | |
| 33 | public static void readFully(InputStream inp, byte[] destination) throws IOException { |
| 34 | readFully(inp, destination, 0, destination.length); |
| 35 | } |
| 36 | public static void readFully(InputStream inp, byte[] destination, int offset, int length) throws IOException { |
| 37 | int read = 0; |
| 38 | int r; |