Interface IBufferedResponseWriterFactory
Represents a factory that creates a writer that buffers before writing to stream
Namespace: EPiServer.Formatters
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
public interface IBufferedResponseWriterFactory
Methods
CreateWriter(Stream, Encoding)
Creates a buffered System.IO.TextWriter for the stream.
Declaration
TextWriter CreateWriter(Stream stream, Encoding encoding)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | stream | The stream to use |
| System.Text.Encoding | encoding | The encoding for the writer |
Returns
| Type | Description |
|---|---|
| System.IO.TextWriter | A writer. |