Метод | Описание | |
---|---|---|
CheckDisposed ( ) : void | ||
Flush ( ) : void |
Clears all output buffers for this stream and causes any buffered data to be written to the underlying device. Clears all output buffers for this stream and causes any buffered data to be written to the underlying device. |
|
Flush ( |
Clears all output buffers for this stream and causes any buffered data to be written to the underlying device. Clears all output buffers for this stream and causes any buffered data to be written to the underlying device. |
|
ImapStream ( Stream source, |
Initializes a new instance of the MailKit.Net.Imap.ImapStream class. Creates a new ImapStream. |
|
Poll ( SelectMode mode, |
||
Read ( byte buffer, int offset, int count ) : int |
Reads a sequence of bytes from the stream and advances the position within the stream by the number of bytes read.
|
|
Read ( byte buffer, int offset, int count, |
Reads a sequence of bytes from the stream and advances the position within the stream by the number of bytes read.
|
|
ReadToken ( |
Reads the next available token from the stream.
|
|
ReadToken ( string specials, |
Reads the next available token from the stream.
|
|
Seek ( long offset, SeekOrigin origin ) : long |
Sets the position within the current stream. It is not possible to seek within a ImapStream. |
|
SetLength ( long value ) : void |
Sets the length of the stream. It is not possible to set the length of a ImapStream. |
|
UngetToken ( MailKit.Net.Imap.ImapToken token ) : void |
Ungets a token.
|
|
Write ( byte buffer, int offset, int count ) : void |
Writes a sequence of bytes to the stream and advances the current position within this stream by the number of bytes written. Writes a sequence of bytes to the stream and advances the current position within this stream by the number of bytes written. |
|
Write ( byte buffer, int offset, int count, |
Writes a sequence of bytes to the stream and advances the current position within this stream by the number of bytes written. Writes a sequence of bytes to the stream and advances the current position within this stream by the number of bytes written. |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the ImapStream and optionally releases the managed resources. Releases the unmanaged resources used by the ImapStream and optionally releases the managed resources. |
Метод | Описание | |
---|---|---|
IsAtom ( byte c, string specials ) : bool | ||
IsCtrl ( byte c ) : bool | ||
IsWhiteSpace ( byte c ) : bool | ||
ReadAhead ( int atleast, |
||
ReadAtomString ( byte inbuf, bool flag, string specials, |
||
ReadAtomToken ( byte inbuf, string specials, |
||
ReadFlagToken ( byte inbuf, string specials, |
||
ReadLine ( byte &buffer, int &offset, int &count, |
Reads a single line of input from the stream. This method should be called in a loop until it returns |
|
ReadLiteralToken ( byte inbuf, |
||
ReadQuotedStringToken ( byte inbuf, |
||
ValidateArguments ( byte buffer, int offset, int count ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public Flush ( |
||
cancellationToken | The cancellation token. | |
Результат | void |
public ImapStream ( Stream source, |
||
source | Stream | The underlying network stream. |
socket | The underlying network socket. | |
protocolLogger | IProtocolLogger | The protocol logger. |
Результат | System |
public Poll ( SelectMode mode, |
||
mode | SelectMode | |
cancellationToken | ||
Результат | void |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | The buffer. |
offset | int | The buffer offset. |
count | int | The number of bytes to read. |
Результат | int |
public Read ( byte buffer, int offset, int count, |
||
buffer | byte | The buffer. |
offset | int | The buffer offset. |
count | int | The number of bytes to read. |
cancellationToken | The cancellation token. | |
Результат | int |
public ReadToken ( |
||
cancellationToken | The cancellation token. | |
Результат | MailKit.Net.Imap.ImapToken |
public ReadToken ( string specials, |
||
specials | string | A list of characters that are not legal in bare string tokens. |
cancellationToken | The cancellation token. | |
Результат | MailKit.Net.Imap.ImapToken |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | The offset into the stream relative to the |
origin | SeekOrigin | The origin to seek from. |
Результат | long |
public SetLength ( long value ) : void | ||
value | long | The desired length of the stream in bytes. |
Результат | void |
public UngetToken ( MailKit.Net.Imap.ImapToken token ) : void | ||
token | MailKit.Net.Imap.ImapToken | The token. |
Результат | void |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | The buffer to write. |
offset | int | The offset of the first byte to write. |
count | int | The number of bytes to write. |
Результат | void |
public Write ( byte buffer, int offset, int count, |
||
buffer | byte | The buffer to write. |
offset | int | The offset of the first byte to write. |
count | int | The number of bytes to write. |
cancellationToken | The cancellation token. | |
Результат | void |