Mime4.net Home | Community Edition | Order | Usage examples | Feedback
RootInputStream ClassMIME4NET Class Library Documentation
InputStream used by the parser to wrap the original user supplied stream. This stream keeps track of the current line number and can also be truncated. When truncated the stream will appear to have reached end of file. This is used by the parser's Stop  method.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    System.IO Stream
      NI.Email.Mime.IO FilterStream
        NI.Email.Mime RootInputStream

Namespace: NI.Email.Mime
Assembly: NI.Email.Mime (in NI.Email.Mime.dll) Version: 1.8.5168.22709
Syntax

public class RootInputStream : FilterStream

The RootInputStream type exposes the following members.

Constructors

  NameDescription
Public methodRootInputStream
Creates a new RootInputStream. @param in the stream to read from.
Top
Methods

  NameDescription
Public methodBeginRead
Begins an asynchronous read operation.
(Inherited from Stream.)
Public methodBeginWrite
Begins an asynchronous write operation.
(Inherited from Stream.)
Public methodClose (Inherited from FilterStream.)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Protected methodCreateWaitHandleObsolete.
Allocates a WaitHandle object.
(Inherited from Stream.)
Public methodDispose 
Releases all resources used by the Stream.
(Inherited from Stream.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
(Inherited from Stream.)
Public methodEndRead
Waits for the pending asynchronous read to complete.
(Inherited from Stream.)
Public methodEndWrite
Ends an asynchronous write operation.
(Inherited from Stream.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush (Inherited from FilterStream.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodRead( Byte )
Public methodRead( Byte , Int32, Int32) (Overrides FilterStream Read( Byte , Int32, Int32).)
Public methodReadByte (Overrides FilterStream ReadByte .)
Public methodSeek (Inherited from FilterStream.)
Public methodSetLength (Inherited from FilterStream.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTruncate
Public methodWrite (Inherited from FilterStream.)
Public methodWriteByte (Inherited from FilterStream.)
Top
Fields

  NameDescription
Protected fieldstream (Inherited from FilterStream.)
Top
Properties

  NameDescription
Public propertyCanRead (Inherited from FilterStream.)
Public propertyCanSeek (Inherited from FilterStream.)
Public propertyCanTimeout
Gets a value that determines whether the current stream can time out.
(Inherited from Stream.)
Public propertyCanWrite (Inherited from FilterStream.)
Public propertyLength (Inherited from FilterStream.)
Public propertyLineNumber
Gets the current line number starting at 1 (the number of \r\n read so far plus 1).
Public propertyPosition (Inherited from FilterStream.)
Public propertyReadTimeout
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out.
(Inherited from Stream.)
Protected propertyUnderlyingStream (Inherited from FilterStream.)
Public propertyWriteTimeout
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out.
(Inherited from Stream.)
Top
See Also