Decode HTML bytes to a string, replicating the C# tokenizer's BOM detection (detectBOM=true) or single-encoding preamble skip (detectBOM=false).
Decode HTML bytes to a string, replicating the C# tokenizer's BOM detection (detectBOM=true) or single-encoding preamble skip (detectBOM=false).