This library adds dart:io support to the HTML5 parser. Call initDartIOSupport before calling the parse methods and they will accept a RandomAccessFile as input, in addition to the other input types.


readAllBytesFromFile(RandomAccessFile file) → List<int>

Synchronously reads all bytes from the file.

useConsole() → void

Adds support to the HtmlParser for running on a console VM. In particular this means it will be able to handle dart:io and RandomAccessFiles as input to the various parse methods.