Reads a sequence of bytes from the stream and advances the position within the stream by the number of bytes read.
/// is null.
///
/// is less than zero or greater than the length of .
/// -or-
/// The is not large enough to contain bytes strting
/// at the specified .
///
/// The stream has been disposed.
///
/// The stream is in token mode (see ).
///
/// An I/O error occurred.
///
publicRead ( bytebuffer, intoffset, intcount ) : int
buffer
byte
The buffer.
offset
int
The buffer offset.
count
int
The number of bytes to read.
return
int
Same methods
ImapStream::Read ( bytebuffer, intoffset, intcount, CancellationTokencancellationToken ) : int