Stream that constrains itself to a single MIME body part.
After the stream ends (i.e. read() returns -1) HasMoreParts
can be used to determine if a final boundary has been seen or not.
If ParentEOF is true an unexpected end of stream
has been detected in the parent stream.
Inheritance Hierarchy
System MarshalByRefObject
System.IO Stream
NI.Email.Mime.IO FilterStream
NI.Email.Mime.IO ReadByteStream
NI.Email.Mime MimeBoundaryInputStream
Namespace: NI.Email.Mime
Assembly: NI.Email.Mime (in NI.Email.Mime.dll) Version: 1.8.5168.22709
Syntax
The MimeBoundaryInputStream type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MimeBoundaryInputStream |
Creates a new MimeBoundaryInputStream.
|
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.) | |
Consume |
Consumes all unread bytes of this stream. After a call to this method
this stream will have reached EOF.
| |
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 | (Inherited from ReadByteStream.) | |
ReadByte |
Read one byte from stream
(Overrides FilterStream ReadByte .) | |
Seek | (Inherited from FilterStream.) | |
SetLength | (Inherited from FilterStream.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
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.) | |
HasMoreParts |
Determines if the underlying stream has more parts (this stream has
not seen an end boundary).
| |
Length | (Inherited from ReadByteStream.) | |
ParentEOF |
Determines if the parent stream has reached EOF
| |
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 |
Get underlying pushback stream
| |
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