public static int readCharacters()

in src/main/java/org/apache/datasketches/Files.java [813:826]


  public static int readCharacters(final Reader in, final int length, final char[] cArr) {
    int readLen = 0;
    try {
      readLen = in.read(cArr, 0, length);
    } catch (final IOException e) {
      try {
        in.close();
      } catch (final IOException f) {
        throw new RuntimeException(LS + "Close Unsuccessful" + LS + f);
      }
      throw new RuntimeException(LS + "Reader.read(char[],0,len) unsuccessful: " + LS + e);
    }
    return readLen;
  }