mimekit-ts - v1.0.0
    Preparing search index...

    Function decodeHtml

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

      Parameters

      • bytes: Uint8Array
      • label: string
      • detectBOM: boolean

      Returns string