1
0

Seal custom writers

This commit is contained in:
2024-03-15 23:48:09 +01:00
parent 94a9972206
commit a8819905dc
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ using System.Text;
namespace Nbt;
public sealed class IndentedWriter(TextWriter baseWriter, string indent, bool leaveOpen = false) : TextWriter
internal sealed class IndentedWriter(TextWriter baseWriter, string indent, bool leaveOpen = false) : TextWriter
{
private readonly TextWriter baseWriter = baseWriter;
private readonly string indent = indent;

View File

@@ -2,7 +2,7 @@ using System.Text;
namespace Nbt;
public sealed class QuotedWriter(TextWriter baseWriter, char quoteChar, char escapeChar, bool leaveOpen = false) : TextWriter
internal sealed class QuotedWriter(TextWriter baseWriter, char quoteChar, char escapeChar, bool leaveOpen = false) : TextWriter
{
private readonly TextWriter baseWriter = baseWriter;
private readonly char quoteChar = quoteChar;