All parse functions can take a Buffer
as an input (FromXml, FromHtml).
In theory this also applies to the parseXmlString
and parseHtmlString
functions since they call the same function under the hood, but adding the Buffer
type there might cause confusion to users.