code: public static String readString(InputStream is, String term) throws IOException {
          return readString(new Utf8StreamReader(is), term);
      }
docs: Read next string from input stream.
  
  @param is   The input stream to read.
  @param term Terminator character.
  @return The string up until, but not including the terminator.
  @throws IOException when unable to read from stream.