Click or drag to resize

StreamWriter Constructor

Overload List
 NameDescription
Public methodStreamWriter(Stream) Initializes a new instance of the CrestronIO.StreamWriter class for the specified stream, using UTF-8 encoding and the default buffer size.
Public methodStreamWriter(String) Initializes a new instance of the CrestronIO.StreamWriter class for the specified file on the specified path, using the default encoding and buffer size.
Public methodStreamWriter(Stream, Encoding) Initializes a new instance of the CrestronIO.StreamWriter class for the specified stream, using the specified encoding and the default buffer size.
Public methodStreamWriter(String, Boolean) Initializes a new instance of the CrestronIO.StreamWriter class for the specified file on the specified path, using the default encoding and buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.
Public methodStreamWriter(Stream, Encoding, Int32) Initializes a new instance of the CrestronIO.StreamWriter class for the specified stream, using the specified encoding and buffer size.
Public methodStreamWriter(String, Boolean, Encoding) Initializes a new instance of the CrestronIO.StreamWriter class for the specified file on the specified path, using the specified encoding and default buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.
Public methodStreamWriter(String, Boolean, Encoding, Int32) Initializes a new instance of the CrestronIO.StreamWriter class for the specified file on the specified path, using the specified encoding and buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.
Top
See Also