JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.javascript.host

Class TextDecoder

    • Constructor Detail

      • TextDecoder

        public TextDecoder()
    • Method Detail

      • jsConstructor

        public void jsConstructor(Object encodingLabel)
        Creates an instance.
        Parameters:
        encodingLabel - the encoding
      • getEncoding

        public String getEncoding()
        Returns:
        the encoding - default is "utf-8"
      • decode

        public String decode(Object buffer)
        Parameters:
        buffer - to be decoded
        Returns:
        returns the decoded string
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /