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 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
The RootInputStream type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RootInputStream |
Creates a new RootInputStream.
@param in the stream to read from.
|
Methods
Name | Description | |
---|---|---|
BeginRead | Begins an asynchronous read operation. (Inherited from Stream.) | |
BeginWrite | Begins an asynchronous write operation. (Inherited from Stream.) | |
Close | (Inherited from FilterStream.) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
CreateWaitHandle | Obsolete. Allocates a WaitHandle object. (Inherited from Stream.) | |
Dispose | Releases all resources used by the Stream. (Inherited from Stream.) | |
Dispose(Boolean) | Releases the unmanaged resources used by the Stream and optionally releases the managed resources. (Inherited from Stream.) | |
EndRead | Waits for the pending asynchronous read to complete. (Inherited from Stream.) | |
EndWrite | Ends an asynchronous write operation. (Inherited from Stream.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Flush | (Inherited from FilterStream.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
Read( Byte ) | ||
Read( Byte , Int32, Int32) | (Overrides FilterStream Read( Byte , Int32, Int32).) | |
ReadByte | (Overrides FilterStream ReadByte .) | |
Seek | (Inherited from FilterStream.) | |
SetLength | (Inherited from FilterStream.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Truncate |
Truncates this InputStream. After this call any
call to ReadByte or
Read( Byte , Int32, Int32) will return
-1 as if end-of-file had been reached.
| |
Write | (Inherited from FilterStream.) | |
WriteByte | (Inherited from FilterStream.) |
Fields
Name | Description | |
---|---|---|
stream | (Inherited from FilterStream.) |
Properties
Name | Description | |
---|---|---|
CanRead | (Inherited from FilterStream.) | |
CanSeek | (Inherited from FilterStream.) | |
CanTimeout | Gets a value that determines whether the current stream can time out. (Inherited from Stream.) | |
CanWrite | (Inherited from FilterStream.) | |
Length | (Inherited from FilterStream.) | |
LineNumber |
Gets the current line number starting at 1
(the number of \r\n read so far plus 1).
| |
Position | (Inherited from FilterStream.) | |
ReadTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from Stream.) | |
UnderlyingStream | (Inherited from FilterStream.) | |
WriteTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from Stream.) |
See Also