Loads an HTML document from a stream.
- inputStream (Stream)
- The stream to load the HTML document from. It must support Seek operations and will be positioned at the beginning before processing. If there is a byte order mark at the beginning of the stream it will be used to determine the encoding. If not - UTF8 will be used as default.
| Exception | Condition |
|---|---|
| ArgumentNullException | The inputStream is null or does not support Seek operations. |
| NotSupportedException | The file is bigger than 2,147,483,647 bytes. |
| HtmlParserException | An error is encountered during the parsing operation. |