Built-in support for TextWriter implementationsSee original GitHub issue
Currently you cannot directly use
StringWriter with ZString as
StringWriter accepts regular
StringBuilder. I created helper ZStringWriter for Orchard Core. Would it make sense to offer
ZStringWriter (UTF-16) and
Utf8ZStringWriter out of the box?
If you think it’s a viable option I could offer a PR, just tell me desired names for the classes and namespace.
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top GitHub Comments
StringWriter, I think it’s a good and intuitive name.
The implementation is also good, I hadn’t thought of that idea.
If you give me a PR, I would love to accept it.
I think we should keep the name as proposed and use the top-level namespace (
Thank you for being so reactive!