ConverterStream Members

Include Protected Members
Include Inherited 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
Public method ConverterStream(TextReader, TextConverter) The ConverterStream constructor creates a new read-only ConverterStream object for converting sourceReader by using converter.
Public method ConverterStream(TextWriter, TextConverter) The ConverterStream constructor creates a new ConverterStream object for writing converted content into destinationWriter by using conversion.
Public method 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
Public property CanRead The CanRead property indicates whether the current stream supports reading. (Overrides Stream.CanRead.)
Public property CanSeek The CanSeek property returns false to indicate that the ConverterStream object does not support seeks. (Overrides Stream.CanSeek.)
Public property CanTimeout (Inherited from Stream.)
Public property CanWrite The CanWrite property indicates whether this ConverterStream can be written to. (Overrides Stream.CanWrite.)
Public property Length The Length property throws a NotSupportedException. (Overrides Stream.Length.)
Public property Position The Position property throws a NotSupportedException. The ConverterStream class does not support seeks. (Overrides Stream.Position.)
Public property ReadTimeout (Inherited from Stream.)
Public property WriteTimeout (Inherited from Stream.)

Top

Methods

  Name Description
Public method BeginRead (Inherited from Stream.)
Public method BeginWrite (Inherited from Stream.)
Public method Close (Inherited from Stream.)
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Protected method CreateWaitHandle Obsolete. (Inherited from Stream.)
Public method Dispose() (Inherited from Stream.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the ConverterStream and optionally releases the managed resources. (Overrides Stream.Dispose(Boolean).)
Public method EndRead (Inherited from Stream.)
Public method EndWrite (Inherited from Stream.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method 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().)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method 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).)
Public method ReadByte (Inherited from Stream.)
Public method Seek The Seek method throws a NotSupportedException. The ConverterStream object does not support seeks. (Overrides Stream.Seek(Int64, SeekOrigin).)
Public method SetLength The SetLength method throws a NotSupportedException. (Overrides Stream.SetLength(Int64).)
Public method ToString (Inherited from Object.)
Public method 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).)
Public method WriteByte (Inherited from Stream.)

Top