summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Encoding/TextEncoder.idl
blob: 676c7ce0372d64356b56642521c020bc70c47d5e (plain)
1
2
3
4
5
6
7
8
9
[Exposed=(Window,Worker)]
interface TextEncoder {
    constructor();

    [NewObject] Uint8Array encode(optional USVString input = "");
    // TextEncoderEncodeIntoResult encodeInto(USVString source, [AllowShared] Uint8Array destination);

    readonly attribute DOMString encoding;
};