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

    Class HtmlEntityDecoder

    An HTML entity decoder.

    Port of MimeKit's HtmlEntityDecoder: push characters one at a time starting with '&', then read the decoded value.

    Index
    • Push the specified character into the HTML entity decoder. The first character pushed MUST be the '&' character. Returns true if the character was accepted; otherwise, false.

      Parameters

      • c: string

      Returns boolean

    • Get the decoded entity value.

      Returns string

      The decoded value, or the original pushed input when the entity is not valid.