@Override
    public @NotNull CharSequence readChars(@Nullable ProgressIndicator indicator) throws IOException {
      BufferExposingByteArrayOutputStream stream = doReadBytes(indicator);
      return stream.size() == 0 ? "" : getCharset().decode(ByteBuffer.wrap(stream.getInternalBuffer(), 0, stream.size()));
    }
@Override
    public @NotNull CharSequence readChars(@Nullable ProgressIndicator indicator)