ConverterStream members
The ConverterStream class is a stream-based converter that can be configured for reading or writing.
The ConverterStream type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ConverterStream(TextReader, TextConverter) | The ConverterStream constructor creates a new read-only ConverterStream object for converting sourceReader by using converter. |
![]() |
ConverterStream(TextWriter, TextConverter) | The ConverterStream constructor creates a new ConverterStream object for writing converted content into destinationWriter by using conversion. |
![]() |
ConverterStream(Stream, TextConverter, ConverterStreamAccess) | The ConverterStream constructor creates a new ConverterStream object that uses converter to either read from or write into stream, based on the value supplied by access. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
CanRead | The CanRead property indicates whether the current stream supports reading. (Overrides Stream.CanRead.) |
![]() |
CanSeek | The CanSeek property returns false to indicate that the ConverterStream object does not support seeks. (Overrides Stream.CanSeek.) |
![]() |
CanWrite | The CanWrite property indicates whether this ConverterStream can be written to. (Overrides Stream.CanWrite.) |
![]() |
Length | Throws an exception when called. (Overrides Stream.Length.) |
![]() |
Position | Throws an exception when called. (Overrides Stream.Position.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Dispose | Releases the unmanaged resources used by the ConverterStream and optionally releases the managed resources. (Overrides Stream.Dispose(Boolean).) |
![]() |
Flush | The Flush method clears all buffers for this ConverterStream and causes any buffered data to be written to the destination TextWriter that it owns. (Overrides Stream.Flush().) |
![]() |
Read | The Read method reads and converts count bytes from the input stream and stores them in buffer, starting at offset. (Overrides Stream.Read([], Int32, Int32).) |
![]() |
Seek | Throws an exception when called. (Overrides Stream.Seek(Int64, SeekOrigin).) |
![]() |
SetLength | The SetLength method throws a NotSupportedException. (Overrides Stream.SetLength(Int64).) |
![]() |
Write | The Write method converts and writes count bytes from buffer, starting at offset, into the destination TextWriter that it owns. (Overrides Stream.Write([], Int32, Int32).) |
Top