Class Utf8StringWriter
- Namespace
- EInvoice.Core.Serialization
- Assembly
- EInvoice.Core.dll
A StringWriter that reports UTF-8 encoding instead of UTF-16, ensuring the XML declaration matches the actual string content.
public sealed class Utf8StringWriter : StringWriter, IAsyncDisposable, IDisposable
- Inheritance
-
Utf8StringWriter
- Implements
- Inherited Members
Properties
Encoding
Gets the Encoding in which the output is written.
public override Encoding Encoding { get; }
Property Value
- Encoding
The
Encodingin which the output is written.