### Question:
IoUtils { public static String readAll(InputStream ins) { return new String(readAllToBytes(ins)); }  static byte[] readAllToBytes(InputStream ins); static String readAllToString(InputStream ins); static String readAll(InputStream ins); static List<String> readToStringList(InputStream inputStream); static String[] readToStringArray(InputStream inputStream);  }### Answer:
@Test public void testReadAll() { InputStream resourceAsStream = this.getClass().getResourceAsStream("/IoUtilsTest.txt"); String s = IoUtils.readAllToString(resourceAsStream); System.out.println("/" + s + "/"); byte[] bytesUsAscii = StringUtils.getBytesUsAscii(s); System.out.println(org.apache.commons.lang3.StringUtils.join(bytesUsAscii, '\\')); System.out.println(); }