Reads a specified number of bytes from the ILeadStream object and writes the data into the specified buffer.
The buffer to write the data into.
The maximum number of bytes to read.
The total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached
Use the CanRead property to determine whether the current instance supports reading.
Medical Web Viewer .NET