docs: @GwtIncompatible("Reader")
    static CharInput asCharInput(final Reader reader) {
      checkNotNull(reader);
      return new CharInput() {
        @Override
        public int read() throws IOException {
          return reader.read();
        }
  
        @Override
        public void close() throws IOException {
          reader.close();
        }
      };
    }