@Override
  public @NotNull InputStream getInputStream() throws IOException {
    return new BufferExposingByteArrayInputStream(contentsToByteArray());
  }
@Override
  public @NotNull InputStream getInputStream()