Gets an appropriate
TextReader
for the content. This is prefered
over reading the stream as text since it might be optimized for text-based use cases.
The returned TextReader
should be disposed after use.
- Namespace
- Statiq
.Common - Containing Type
- StreamContent
- Implements
Syntax
public TextReader GetTextReader()
Return Value
Type | Description |
---|---|
TextReader | A TextReader for the content. |