Class StreamEncodingOptions
- Namespace
- Cuemon.IO
- Assembly
- Cuemon.IO.dll
Configuration options for Stream.
public class StreamEncodingOptions : DisposableOptions, IParameterObject, IEncodingOptions
- Inheritance
-
StreamEncodingOptions
- Implements
- Derived
- Inherited Members
Constructors
StreamEncodingOptions()
Initializes a new instance of the StreamEncodingOptions class.
public StreamEncodingOptions()
Remarks
The following table shows the initial property values for an instance of StreamEncodingOptions.
Property | Initial Value |
---|---|
Preamble | DefaultPreambleSequence |
Encoding | DefaultEncoding |
Properties
Encoding
Gets or sets the character encoding to use for the operation.
public Encoding Encoding { get; set; }
Property Value
- Encoding
The character encoding to use for the operation.
Preamble
Gets or sets the action to take in regards to encoding related preamble sequences.
public PreambleSequence Preamble { get; set; }
Property Value
- PreambleSequence
A value that indicates whether to preserve or remove preamble sequences.