Seal custom writers
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user