@Override
    public @NotNull String readString(@Nullable ProgressIndicator indicator) throws IOException {
      BufferExposingByteArrayOutputStream stream = doReadBytes(indicator);
      return stream.size() == 0 ? "" : new String(stream.getInternalBuffer(), 0, stream.size(), getCharset());
    }
@Override
    public @NotNull String readString(@Nullable ProgressIndicator indicator)